scripting:attachcameratoentity
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
scripting:attachcameratoentity [2022/08/09 14:58] – [Example] jerryhopper | scripting: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 | ||
< | < | ||
- | //CAMERA ATTACH TO VEHICLE | ||
GenericEntity vehicle = GenericEntity.Cast(GetWorld().FindEntityByName(" | GenericEntity vehicle = GenericEntity.Cast(GetWorld().FindEntityByName(" | ||
int boneIndex = vehicle.GetBoneIndex(" | int boneIndex = vehicle.GetBoneIndex(" |
scripting/attachcameratoentity.1660053535.txt.gz · Last modified: 2022/08/09 14:58 by jerryhopper