I i’m trying to find a way to have a rigid body object, like a sphere, to be able to be turned by the mouse. It’s be basically a third-person view, but the object would be rigid body. Since i have to use non-linear forces for a rigid body ojbect (otherwise the axis would be moving and i’d be putting forces in all kinds of different dirrections) i can’t just turn it normally. How could i have my object go in the direction my camera is pointing?
Unless there’s a really clever way to do this with logicbricks it’s probably goign to use some sort of python script.
Yeah, you’re at the right address. I made some weeks ago a sphere which turns on mous movement to the right and left, I used it for a jetpack sphere looking character. I can post it, but I have a problem, I’m on school so I can’t reach my blender files, but keep visiting this topic. I upload the file tomorrow or today at 11pm/12pm Europese time. 8)
You can do force on global axis. In the motion actuator, make sure to unckedk the “L” value. From python, use setForce() with a zero in the fourth column rather than a one.
That value determines whether force is local or not.
No, I already got it. The reason i couldn’t just use global forces is because i wanted to rotate the camera with the mouse and then still have camera-relative movement. Lizard made me a script when i had accidently posted it on the Big World thread.