What are the units of speed in the move behaviour

sladaksladak Member Posts: 119
Hey guys

During my level complete overlay, I have stars speeding in from off screen. Now i have gravity on, so unfortunately they get to their position, and then disappear off the screen. I will use the contrain attribute but need to know how long to wait before implementing the constrain ie. i do not want to contrain whislt they are sitll moving to their point. Sooooooo what are the units of the speed in the move behaviour? Is it pixels per second???

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Why not turn off moveable and use interpolate thereby avoiding the constrain issue.
  • sladaksladak Member Posts: 119
    Ah did not realise that interpolate was immune to the scenes gravity - awesome :)
  • HoneyTribeStudiosHoneyTribeStudios Member Posts: 1,792
    Yes the speed is pixels per second.

    And the acceleration behavior is pixels per second squared.

    You could also try not using gravity at all. And instead using a downward acceleration only on the objects that you want to fall. Then it's easier to manage. Also it will probably not stress the device processor as much as applying gravity to all objects.
  • ORBZORBZ Member Posts: 1,304
    Careful, if you turn off "Physics > Movable" the Actor will not detect collisions with other non-movable actors.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    It will detect overlap and collide though.
Sign In or Register to comment.