object.motion.linearvelocity.X never gets to 0
azavega
Member Posts: 362
Ok I put a couple of dummy actors to control the linear velocity of my object X,Y and they never gets to 0 they r always flicking changing numbers... so my condition or rule never gonna work... I have already drag on my object set to 50 and 100 and 500 but the object doesn't stop... any help how to solve this... how to detect that the object is not moving anymore?
Comments
Move 0
Is cause i got the free version of gamesald?
Create an attribute self.Threshold with a default value of 2.
Then,
Rule When self.Threshold > magnitude(linVelX,linVelY) ...