User Tools

Site Tools


object

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
object [2021/11/08 17:37] justinobject [2022/12/17 14:50] justin
Line 16: Line 16:
 |<object>.coord|[[Coordinate]] of the object.| |<object>.coord|[[Coordinate]] of the object.|
 |<object>.direction|[[Cardinal direction]] (NORTH, SOUTH, WEST, EAST) in which the object is rotated. The default direction of an [[entity]] is SOUTH.| |<object>.direction|[[Cardinal direction]] (NORTH, SOUTH, WEST, EAST) in which the object is rotated. The default direction of an [[entity]] is SOUTH.|
-|<object>.tiles|An [[array]] of [[tile|tiles]] that the object is currently occupying.+|<object>.tiles|An [[array]] of [[tile|tiles]] that the object is currently occupying.|
 |<object>.groups|An [[array]] of [[groups]] to which the object is assigned. The [[array]] will be empty if the object is not assigned to any [[groups]].| |<object>.groups|An [[array]] of [[groups]] to which the object is assigned. The [[array]] will be empty if the object is not assigned to any [[groups]].|
 |<object>.tags|An [[array]] of tags (as [[string|strings]]) for the object, as set in the [[Voxel Editor]] from the [[Model Properties]] panel.| |<object>.tags|An [[array]] of tags (as [[string|strings]]) for the object, as set in the [[Voxel Editor]] from the [[Model Properties]] panel.|
Line 25: Line 25:
 |<object>.animations|An [[array]] of [[animation]] names defined for this object. The names will be [[string]] values.| |<object>.animations|An [[array]] of [[animation]] names defined for this object. The names will be [[string]] values.|
 |<object>.attach_points|An [[array]] of [[attach_points|attach point]] names defined for this object (across all [[animation]] frames). The names will be [[string]] values. The [[array]] will be empty if no [[attach points]] are defined.| |<object>.attach_points|An [[array]] of [[attach_points|attach point]] names defined for this object (across all [[animation]] frames). The names will be [[string]] values. The [[array]] will be empty if no [[attach points]] are defined.|
 +|<object>.textures|An [[array]] of texture names defined for this object. The names will be [[string]] values.|
  
 ~~NOTOC~~ ~~NOTOC~~
object.txt · Last modified: 2024/03/14 09:41 by justin