Change of Size Disables Collision Detection
ProjectorX
Member Posts: 45
I have an actor, 'hitarea' with width and height constrained to a game variable, 'radius'. I have another actor, 'gun' which is able to change this 'radius' game variable. I have other actors yet which are to take certain actions upon collision with 'hitarea'.
Everything works fine as far as collisions being detected and actions being taken up until the 'gun' actor changes the size of the 'hitarea' actor. After that, the collisions between 'hitarea' and the third type of actor are not detected at all.
Any ideas as to why this is happening?
Answers
What is the size of the hitarea actor when it no longer detects collisions? And what happens if you delete the gun actor from the scene and just add a change attribute behavior somewhere that changes game.radius to 50 or some other large value?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Hey @ProjectorX ,
Is the Hitarea actor able to detect any other collisions after the size change occurs?