dudeabot
07-02-2008 02:04:16
hi im having a problem with movement and first person camera
im using a customForceandTorquecallback for the camera body, as advised by numerous post on the forums
my implementation is clearly based on the one from this topic:
http://www.ogre3d.org/phpBB2addons/view ... son+camera
the problem is, when i move the player it wont stop instantanially (which is expected but not wanted) i searched the forum and seem similar threads with not clear solution.
I tried adding a contrary force as suggested on one of those threads, but the main problem is, how much force would i need to add, and when tell the callback to stop...
im using 0.8 for kinet and dynamic friction, it did help, but the character still slides
maybe addForce isnt the right way to go for this problem, anyone got suggestions?
im using a customForceandTorquecallback for the camera body, as advised by numerous post on the forums
my implementation is clearly based on the one from this topic:
http://www.ogre3d.org/phpBB2addons/view ... son+camera
the problem is, when i move the player it wont stop instantanially (which is expected but not wanted) i searched the forum and seem similar threads with not clear solution.
I tried adding a contrary force as suggested on one of those threads, but the main problem is, how much force would i need to add, and when tell the callback to stop...
im using 0.8 for kinet and dynamic friction, it did help, but the character still slides
maybe addForce isnt the right way to go for this problem, anyone got suggestions?