User Tools

Site Tools


scripting:attachcameratoentity

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scripting:attachcameratoentity [2022/08/09 14:58] – [Example] jerryhopperscripting:attachcameratoentity [2022/08/09 23:14] (current) – [Example] jerryhopper
Line 1: Line 1:
-====== AttachCameraToEntity ======+====== AttachCameraToEntity() ======
  
  
Line 9: Line 9:
  
  
-===== Example =====+===== Common usage ===== 
 + 
 +CAMERA ATTACH TO VEHICLE
  
 <code> <code>
-//CAMERA ATTACH TO VEHICLE 
 GenericEntity vehicle = GenericEntity.Cast(GetWorld().FindEntityByName("BTR1")); GenericEntity vehicle = GenericEntity.Cast(GetWorld().FindEntityByName("BTR1"));
 int boneIndex = vehicle.GetBoneIndex("v_root"); int boneIndex = vehicle.GetBoneIndex("v_root");
scripting/attachcameratoentity.1660053535.txt.gz · Last modified: 2022/08/09 14:58 by jerryhopper

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki