Files
RCBASIC4/doc/files/getspritetype.txt
n00b 5762c171ae Changes to sprite animation system
* Changed the names of some of the functions
* Added functions for setting and returning the projection matrix of the active camera
* Added a function for getting the 2D screen coordinates from a 3D vector
* Added documentation for all the new functions
2024-10-18 23:12:42 -04:00

16 lines
309 B
Plaintext

#title GetSpriteType [RCBasic Doc]
#header Function GetSpriteType(sprite)
Returns the collison body type of a sprite.
By default, sprites are dynamic when they are created.
Possible types returned
#list ul
#li SPRITE_TYPE_STATIC
#li SPRITE_TYPE_KINEMATIC
#li SPRITE_TYPE_DYNAMIC
#/list
#ref SetSpriteType