Quantcast
Channel: Questions in topic: "addforce"
Viewing all articles
Browse latest Browse all 1264

Can you add a force to a rigidbody at an angle?

$
0
0
Hi! I am making a game where you control a sphere by adding forces to the rigidbody of said sphere. To accomplish that I would like to be able to add a force to the rigidbody around the y axis of rotation(not relative to the sphere). I can't make this relative to the sphere since it will bump into other objects and the physics engine will rotate the sphere. It's a little confusing so I have an image that might help visualize my idea. [Image Link][1] [1]: https://drive.google.com/file/d/1ShlD9Iq4esCRXsG_DSb8zR_6utVF1tHy/preview

Viewing all articles
Browse latest Browse all 1264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>