Collision not working on a constrained object
lordsprinkles
Member Posts: 19
I have a smaller actor constrained to a larger actor and I want to have the smaller actor collide with the ground but it doesn't seem to work.
To test it I did this I made 3 actors: Level Collision, Actor 1, Actor 2
I made Level Collision the ground. I then constrained Actor 2 to Actor 1 so that they are attached, using this tutorial: http://gamesalad.com/wiki/how_tos:gsc_follow_another_actor
I added an accelerate attribute of 270 degrees with an accelerate of 300 on Actor 1 to simulate gravity. Then I added a collision attribute to Actor 2 so that when it collides with Level Collision it will bounce.
Upon previewing this the actors fall right through Level Collision, but if I put the collision attribute on Actor 1 it works. Does this sound correct?
-Thanks
To test it I did this I made 3 actors: Level Collision, Actor 1, Actor 2
I made Level Collision the ground. I then constrained Actor 2 to Actor 1 so that they are attached, using this tutorial: http://gamesalad.com/wiki/how_tos:gsc_follow_another_actor
I added an accelerate attribute of 270 degrees with an accelerate of 300 on Actor 1 to simulate gravity. Then I added a collision attribute to Actor 2 so that when it collides with Level Collision it will bounce.
Upon previewing this the actors fall right through Level Collision, but if I put the collision attribute on Actor 1 it works. Does this sound correct?
-Thanks
Comments
The balls just crazily pass straight through the doors. Don't know why.
These same actors (the door) were being used as the floor - they used to be immovable and unconstrained. When that was the case, the balls did not pass through them.