Physics Objects
Last updated
Last updated
BPM_ServerPhysicsObject
is a blueprint actor that can be derived from to create gameplay props that have server auth physics. This means that any player can interact with the object and have the physics affects get replicated to all other players. Examples of derived BPM_ServerPhysicsObject
classes include: BPM_Dice
, BPM_Ball
.
Forces are applied to the BPM_ServerPhysicsObject
using the server RPC Server_ApplyImpulse
. You can use this to apply a regular impulse and angular impulse to your object (move the object and spin the object).
Inside BPM_Dice
, you can see Server_ApplyImpulse
is used to apply a random impulse and angular impulse to the dice when the dice actor is interacted with.
BPM_Dice
example