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

Rididbody movement at the end of a rotating platform

$
0
0
![alt text][1]

The blue block is my player. The green block is the goal. I am using a rigidbody and adding force to make the player move. If the players velocity.magnitude is less than maxSpeed then force is added to the player. The problem I have is that when the player is at the end of the moving platform his speed is just about or exceeding maxSpeed so he is just stuck there and cant move around. What is the simplest way to fix this issue? Thank you!!

![alt text][2] [1]: /storage/temp/26317-1.jpg [2]: /storage/temp/26318-2.jpg

Viewing all articles
Browse latest Browse all 1264

Trending Articles



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