problem with overlapping and collision
jygo
Member Posts: 2
Hey, I am having trouble with collision or overlap rule conditions. I set to resize the actor from 27X36 to 81X108 with constrain attributes and change attribute, but the condition for the collision seems to be invalid. I changed it to actor receives event>touch>press and it works perfectly. Also it works with out the resizing. How can I correct this if I can?
Best Answer
-
PixelMetal Posts: 283I don't think you can - resizing doesn't seem to update the size of the collision area at all.
Answers
Hi @PixelMetal for info: if the actor's size was enlarged with the Change Size Behaviour then collision detection didn't used to work, but it does now....
And so does collision detection still work OK if the actor changes size with Change Attribute behaviours, and even Interpolate behaviours making it larger over time.
So @jygo, I suspect something else is going on here.... first to ask, what are you using the constrain Attributes for? And just to confirm, you're changing the actor's size immediately with Change Attribute behaviours, yes?
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps