You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For every object, we have to place it in it's parent space using position and rotation.
Position (vector2) and rotation (float) are applied to the object's pivot which is placed at the bottom lower left corner of the object.
Buildings and rooms
A building is placed in the world coordinates system
A room is placed inside a building: it will use the building coordinates system instead of the world one.
Inside a room, separators and pillars are placed regarding the room's origin.
You can locate it by enabling localCS of the room in OGrEE-3D.
Racks and corridors
Racks and corridors are placed using a position (vector3) and a rotation (vector3), using the parent room coordinates system.
If you rotate the object around X or Y axis, you will have to update the position to compensate.