In what space is ComponentInstance's Transformation?


#1

Hi, so in what space ComponentInstance’s Transformation is ? It doesnt really say in the docs.
LocalSpace (the parent’s space)
or WorldSpace (the full hierarchy collapsed transform) ?
thanks


#2

It is with respect to the coordinates of whatever Entities collection (aka context) contains the ComponentInstance. The transformations accumulate context-by-context from the model through nestings until they reach the one that contains the ComponentInstance.


#3

Ok so basically its a world transform (a matrix that brings a local vertex/object/axis into the main world), sorry I come from game development :slight_smile:


#4

Actually a local transform…