NetworkRigidBodyComponent.AutoComponent.xml 1.4 KB

123456789101112131415161718192021
  1. <?xml version="1.0"?>
  2. <Component
  3. Name="NetworkRigidBodyComponent"
  4. Namespace="Multiplayer"
  5. OverrideComponent="true"
  6. OverrideController="true"
  7. OverrideInclude="Multiplayer/Components/NetworkRigidBodyComponent.h"
  8. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  9. <ComponentRelation Constraint="Required" HasController="true" Name="NetworkTransformComponent" Namespace="Multiplayer" Include="Multiplayer/Components/NetworkTransformComponent.h" />
  10. <NetworkProperty Type="AZ::Vector3" Name="LinearVelocity" Init="AZ::Vector3::CreateZero()" ReplicateFrom="Authority" ReplicateTo="Server" IsRewindable="false" IsPredictable="false" IsPublic="false" Container="Object" ExposeToEditor="false" ExposeToScript="false" GenerateEventBindings="false" />
  11. <NetworkProperty Type="AZ::Vector3" Name="AngularVelocity" Init="AZ::Vector3::CreateZero()" ReplicateFrom="Authority" ReplicateTo="Server" IsRewindable="false" IsPredictable="false" IsPublic="false" Container="Object" ExposeToEditor="false" ExposeToScript="false" GenerateEventBindings="false" />
  12. <RemoteProcedure Name="SendApplyImpulse" InvokeFrom="Server" HandleOn="Authority" IsPublic="true" IsReliable="true" GenerateEventBindings="true" Description="Applies an impulse">
  13. <Param Type="AZ::Vector3" Name="impulse" />
  14. <Param Type="AZ::Vector3" Name="worldPoint" />
  15. </RemoteProcedure>
  16. </Component>