Type Alias PhysicsPropertyInner

PhysicsPropertyInner: {
    density: number;
    friction: number;
    move: boolean;
    position: IVector3;
    restitution: number;
    rotation: IVector3;
    size: IVector3;
    type: PhysicsShapeTypeEnum;
}

Internal physics property configuration containing detailed shape and physics parameters. This type defines the complete set of properties needed for physics simulation.

Type declaration

  • density: number

    The density of the physics body, affecting its mass

  • friction: number

    The friction coefficient for surface interactions (0.0 to 1.0)

  • move: boolean

    Whether the physics body can move (dynamic) or is static

  • position: IVector3

    The position offset of the physics shape relative to the entity

  • restitution: number

    The restitution (bounciness) coefficient for collisions (0.0 to 1.0)

  • rotation: IVector3

    The rotation of the physics shape in Euler angles

  • size: IVector3

    The size/dimensions of the physics shape in 3D space

  • type: PhysicsShapeTypeEnum

    The type of physics shape (box, sphere, capsule, etc.)