Constrained Actors Wont Trigger Collide Rules
KevinCross
London, UKMember Posts: 1,894
Is this a bug or expected? Actors that have their sizes constrained won't trigger collide rules. I've attached a simple project that shows this.
The project has two cubes on the floor, one without a constraint attribute behaviour attached to it and the other with one. In each one they have a rule that says if the bouncing box collides with it change the colour of self.
When the bouncing box collides with the box that hasn't got the constrain height, the box changes colour. However the one that has a constrain height behaviour doesn't change colour. It doesn't trigger the collision rule at all.
I made some changes to my game where I fixed the height of objects based on the size of the screen but that stopped all of my collision rules and took me most of the night working out what I'd done to break it.
I'm currently using 10.3 Beta on a Mac, so not sure if it's a problem with that version.
The project has two cubes on the floor, one without a constraint attribute behaviour attached to it and the other with one. In each one they have a rule that says if the bouncing box collides with it change the colour of self.
When the bouncing box collides with the box that hasn't got the constrain height, the box changes colour. However the one that has a constrain height behaviour doesn't change colour. It doesn't trigger the collision rule at all.
I made some changes to my game where I fixed the height of objects based on the size of the screen but that stopped all of my collision rules and took me most of the night working out what I'd done to break it.
I'm currently using 10.3 Beta on a Mac, so not sure if it's a problem with that version.
Comments
Cheers