SetEntityVelocity

From RAGE Multiplayer Wiki
Revision as of 09:17, 30 November 2019 by Xabi (talk | contribs) (Created page with "Sets the velocity for the given entity. {{CSharpContainer| {{#tag:syntaxhighlight|void {{Template:CSharp_Serverside_namespace}}Entity.SetEntityVelocity(NetHandle netHandle,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Sets the velocity for the given entity.


C# Syntax

void NAPI.Entity.SetEntityVelocity(NetHandle netHandle, Vector3 newVelocity);

Parameters

  • netHandle: parameter input should be in NetHandle type
  • newVelocity: parameter input should be in Vector3 type


Example

// Code here...