About Store Forum Documentation Contact



Post Reply 
Animation and cut point.
Author Message
menajev Offline
Member

Post: #1
Animation and cut point.
Is there any way to get precision mesh cut point if mesh is animated? AFAIK neither phys body nor mesh cuts doesn't operate with skeleton animation.
05-09-2010 09:11 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: Animation and cut point.
normally you do approximation (use few bone shapes, animate them, and do collision on bones only)
for mechs you can use few boxes, transform each by corresponding skeleton matrix.
and do collision detection on the boxes.

you can do precise mesh calculation for animated meshes, but its slow
in that case you need to copy mesh, animate it Mesh::animate, and do collision detection on it
05-09-2010 10:44 AM
Find all posts by this user Quote this message in a reply
menajev Offline
Member

Post: #3
RE: Animation and cut point.
It needn't to be fast as I decided to make simple phys body (e.g. box) and if Phys.ray hit box - check, if it really hit the mech.

Mesh::animated? Can't find anything like that.
05-09-2010 11:09 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #4
RE: Animation and cut point.
check MeshBase::animate
05-09-2010 12:21 PM
Find all posts by this user Quote this message in a reply
Post Reply