OgreNewt: Newton body follows Ogre entity?

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

OgreNewt: Newton body follows Ogre entity?

Postby Cyrus » Sun Sep 05, 2010 5:20 am

Hi,
I'm working with OgreNewt, whenever i move newton body the Ogre entity follows the newton body.
But, Is there other way around?? I want to move the Ogre entity and newton body should follow it??

Regards
Cyrus
Cyrus
 
Posts: 49
Joined: Mon May 17, 2010 1:04 am

Re: OgreNewt: Newton body follows Ogre entity?

Postby Stucuk » Sun Sep 05, 2010 7:04 am

The ogre body should follow the physics body. You want to move the physics, so the graphics then follows whats happening in the physical world.
User avatar
Stucuk
 
Posts: 801
Joined: Sat Mar 12, 2005 3:54 pm
Location: Scotland

Re: OgreNewt: Newton body follows Ogre entity?

Postby Julio Jerez » Sun Sep 05, 2010 9:45 am

I am afraid that not there is not other way around, once to attach a body to an entiry, you are agreeing that you wna teh matrix of teh entity to be control by the body.
That is the the exact reason why using a physics library .

similar when you you use a sound librray to play sounds, you can ajust the volume a pich the entiry will play the sound a different volumen or pich,
but not one will ajust the volume in the entity and expect that to affect that sound.
Julio Jerez
Moderator
Moderator
 
Posts: 12452
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 216 guests

cron