GenSetSpriteMass


GenSetSpriteMass sprite, mass

sprite

Game Engine sprite object to set.

mass

The mass of the sprite. By default the mass is the unscaled sprite width x height. The mass is used in the collision rebound and damage algorithms.


Game Engine Overview







Become a Patron