Skip to content

Innacuracy on Kinematic body's docs #930

@BleyChimera

Description

@BleyChimera

Inside the RigidBody enum the Kinematic option has this description:

/// Kinematic bodies are bodies that are not affected by any external forces or collisions.
/// They will realistically affect colliding dynamic bodies, but not other kinematic bodies.
///
/// Unlike static bodies, kinematic bodies can have velocity.
/// The engine doesn't modify the values of a kinematic body's components,
/// so you have full control of them.
Kinematic,

I am making a character controller and I intended on using kinematic bodies for this purpose.
However I did not expect the kinematic body to move as I changed the linear velocity since its said to not change the components. Is this the intended behavior? And if so I would propose adding a tiny note that says it does get affected by the assigned velocity by modifying it's position value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-DynamicsRelates to rigid body dynamics: motion, mass, constraint solving, joints, CCD, and so onC-DocsImprovements or additions to documentationD-TrivialNice and straightforward! A great choice to get started with Avian

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions