Skip to content

Update Doodad's transform according to RigidBody in the fixedUpdate function instead of update #145

@Kejoko

Description

@Kejoko

Currently, we are updating the Doodad's transform to adhere to the Rigid Body's transform in the update step when the Rigid Body is getting updated in the fixedUpdate step.

In theory, the Rigid Body should only be updating during the fixedUpdate step. As a result, any time which we update the Doodad's transform to adhere to the Rigid Body outside of this step, we should get the transform from the most recent fixedUpdate step.

Also, we should allow for updating a Doodad during the update step. As things stand currently, if we do update the Doodad in the update step, the updated transform will immediately get overwritten by the Rigid Body's transform.

This could be an issue with setting the Doodad's transform to the Rigid Body's transform at the end of the update step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions