Stop Rotation of Ball?
CaptFinn
Member Posts: 1,828
I have been up all night looking at different projects and forum topics that deal with ball actors bouncing around the screen off the 4 walls. I think I have everything I need as far as speed and bounce effect. What I have not been able to figure out is how do i keep the ball ( lets say its a static image of a beach ball from spinning as it travels off and between the walls. Because its not a solid image, you can easily see the ball spins 360* at various speeds. I would like to know how to make the ball (actor) not spin.
Comments
How about a simple constrain rotation to 0? Doesn't that work?
Or you could use angular drag if you want it to just rotate a bit without going on an on.
Either that, or if you need the ball to rotate but not the image, you could create a second actor with a fixed rotation and the image of the ball, and constrain its x,y to the original actor's x,y.
My Blog / App Store / Google Play
You can stop rotation by switching on 'Fixed Rotation'.
What @Socks said!
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
thanks guys. just woke up. i will try all suggestions.
@Socks clicking fixed rotation reduced rotation by like 98% but it still rotates.
@Hoodloc constraining seemed to work 100%
I don't think that's actually possible ! There must be something else going on in your project, can up upload a screenshot of the rules for the ball ?