Skip to content

Ammo: object losing physics - when body = kinematic and shape = mesh #58

@intentmoose

Description

@intentmoose

Objects, when given kinematic body and shape of mesh they are losing their physics. I can tell since the debug outline on the item is lost and nothin is emitted when collided.

Check out this Glitch

Code when it breaks:

<a-entity
      geometry="primitive: torus; radius: 1; radiusTubular: 0.1; arc:360"
      rotation="90 0 0"
      ammo-body="type: kinematic; emitCollisionEvents: true;"
      ammo-shape="type: mesh">
</a-entity>

image

Static as a working example:

<a-entity
      geometry="primitive: torus; radius: 1; radiusTubular: 0.1; arc:360"
      rotation="90 0 0"
      ammo-body="type: static; emitCollisionEvents: true;"
      ammo-shape="type: mesh">
</a-entity>

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions