#Is there any sample how to use ApplyImpulse extension?

1 messages · Page 1 of 1 (latest)

rain plaza
#

I want to spawn a bullet and apply force to it. I tried to use ApplyImpulse extension method but I get this error
'ref this' parameter must be a value type or a generic type constrained to struct
I am getting PhysicsVelocity and PhysicsMass components using entity manager.

knotty ruin