Post

Replies

Boosts

Views

Activity

How to impose an Impulse
Hi. Given an RC entity var physicsBody = tappedObject.entity.components[PhysicsBodyComponent.self]! as PhysicsBodyComponent how does one call func applyImpulse(_ impulse: SIMD3, at position: SIMD3, relativeTo referenceEntity: Entity?) to impose an impulse on the object? Or the real question is how does one obtain a physiceBody on the Model.Entity? Thanks!
6
0
1.1k
Aug ’23