"Glue" acto to rotating platform?
elementappdev
Member, PRO Posts: 55
Hi,
I am trying to make an actor be "glued" to a platform.
You can rotate the platform (say rotate clockwise) and the actor slides to the right. But then when I rotate it back(counter clockwise), his velocity launches him off the platform like a ramp. Is there any way to make it so he can't be launched but will simply slide back the other way(toward the left)?
Thanks for any help,
-Brian
Comments
Did you try to make gravity or the object density very high?
yeah, i guess I will just mess around with some more of it, thank you though!
I've attached a demo project where the box pretty much sticks to the platform as you rotate it. It's probably not exactly what you want but by adjusting the two actors Density and Friction and the speed of the platforms rotation you can get it to act differently. Maybe this will get you going in the right direction. Use the arrow keys to rotate the platform.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page