Attribute vs Change Attribute while Jumping
I`m testing one setting, and dont know what is the correct way for save memory.
If i want to only jump one time each my player, i can use two values:
Create and attribute for the game named while jumping and set to false or true on jump movement adding this on the player actor values.
Create and attribute only for the actor, if linear velocity >0 then cant jump.
I think the correct is the second option really?
If i want to only jump one time each my player, i can use two values:
Create and attribute for the game named while jumping and set to false or true on jump movement adding this on the player actor values.
Create and attribute only for the actor, if linear velocity >0 then cant jump.
I think the correct is the second option really?
Comments