problem with collide behavior
I have a problem with overlap or collide behavior in rule function.
There is a rule when actor collide with another actor then change self attribute to random 1 or 2.
1 and 2 indicates change of y velocity to 300 or 400.
And the problem is that this rule work 2 or 3 times then stop working.
What is wrong?
There is a rule when actor collide with another actor then change self attribute to random 1 or 2.
1 and 2 indicates change of y velocity to 300 or 400.
And the problem is that this rule work 2 or 3 times then stop working.
What is wrong?
Comments
If attribute = 1
Change to 2
If 2
Change to 1
Now it'll change everytime.
It's when ovelap or collide then change attribute and attribute isn't changed everytime and linear velocity of my actor not change so my actor just fly through wall instead of jump.