Kermit

This won't work
--MyRigidBodyOfMyModel.position = MyModel.worldposition
your potentially telling the ridgid body to be somewhere contrary to the any
physics you have set up in the world.
In director Havok uses impulses to move the object,
try applying a staged impulse to whereyou want it to go (ie
MyModel.worldposition)

MyRigidBodyOfMyModel.linearVelocity=MyRigidBodyOfMyModel.linearVelocity+vect
or(movex, movey,movez)
--same will apply with rotation, use, .angularVelocity

hth
pete

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Stephane
Bertrand
Sent: 18 March 2002 07:47
To: [EMAIL PROTECTED]
Subject: <lingo-l> Havok and keyframe animation


hello,

I have a bug problems with havok Xtra in director.

I try to interact a ball with element which have a keyframe animation.
But in my movie, objet move, but not his rigidbody :(
so, i try for each step to move my rigidBody like this :

MyRigidBodyOfMyModel.position = MyModel.worldposition

but problems because when My Model interpenetrates ball,
collisions between these two rigid bodies are not resolved.

So my question, how i can use My keyframe animation for my RigidBody 

With Reactor in Max, it's ok, but no in Director :(
thx you for your help

Kermit
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
for learning and helping with programming Lingo.  Thanks!]
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to