Problem with the movable option
ElemetApps
Member, PRO Posts: 55
The problem I am having rite now is say I have a plane, ball, and a rectangle. When the plane hits the rectangle the rectangle flies back, witch is good. But when the ball hits the rectangle I want the rectangle to stay still but it wont. It flies back from it colliding. So I only want the rectangle to bounce off of the plane and not bounce away when the ball hits it. How could I fix this?
Comments
You'll probably have to play with the density settings of each actor. It will take some messing around probably but try something like this:
Plane Density: 20
Rectangle Density: 10
Ball Density: 1
So in this case the plane should move the rectangle but the rectangle should move the ball.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
That didn't work. The ball still moves the rectangle.
Don't use my numbers exactly, keep trying until you get something that works. Try something very high vs very low and see the effect. It may take some experimentation.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Ya I didnt, but i even have the ball at 0 and the density for the rectangle is in the millions and the ball barley moves the rectangle still. When I bring the density higher than the millions , gamesalad lags out and closes. Is there any other way to make an object movable to only one actor?
You could swap between two rectangle objects, a locked one and a moveable one.
Example file attached. (click on the squares at the top to drop them - only the purple block will move the large lower block)