Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
-
ttom
- Posts: 43
- Joined: Tue Aug 26, 2003 3:43 am
- Location: Taiwan
Post
by ttom »
I have a IAnimatedMeshSceneNode to animate the player, but i want move it by the mouse click, any suggest?
ttom
-
bal
- Posts: 829
- Joined: Fri Jun 18, 2004 5:19 pm
- Location: Geluwe, Belgium
Post
by bal »
Generally you get the coordinates in 3D from the point where you clicked in 2D. Then move the model at a constant speed every frame.