* 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
16 lines
309 B
Plaintext
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
|