Constructs a new ObjectEditorImpl for the given GameObject.
The GameObject to wrap for editor manipulation.
Returns the main mesh of the object.
Returns all meshes associated with the object.
Returns the type of the object.
Returns whether the object is currently selected.
Moves the object by a local movement vector, transforming to global coordinates if parented.
The movement vector in local space.
Forwards the contact event to the underlying GameObject.
Serializes the object's type, position, rotation, and scale for saving.
Sets the selection state of the object, updating its visual appearance.
True if the object is selected.
Updates the object's position based on CharacterInput and delta time.
Delta time.
The current input state.
Updates the object's rotation based on CharacterInput and delta time.
Delta time.
The current input state.
Updates the object's scale based on CharacterInput and delta time.
Delta time.
The current input state.
ObjectEditorImpl implements the EditorObject interface and provides editing capabilities for any GameObject in the level editor.
Responsibilities:
Usage:
updatePosition
,updateRotation
, andupdateScale
to transform the object based on input.setSelected
to visually indicate selection.serialize
to export the object's state.