Translate a body with raycast

Tano_ITA

23-04-2008 16:12:19

Hi,
how can i translate a body in the position where i click? For example, i want to translate the ninja.mesh in the position where i click. Anyone have some idea?



Thanks a lot

Tano_ITA

07-05-2008 12:03:57

And if i use a simple Box for the scenario? Anyone have some idea?

albino

07-05-2008 12:54:56

get the position you click

thats your destination point

then check this post: http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=7079

Tano_ITA

09-05-2008 18:08:25

I solved using the OgreNewt::RayCast