scripting:attachcameratoentity
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
scripting:attachcameratoentity [2022/08/09 17:00] – jerryhopper | scripting:attachcameratoentity [2022/08/09 23:14] (current) – [Example] jerryhopper | ||
---|---|---|---|
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.1660060847.txt.gz · Last modified: 2022/08/09 17:00 by jerryhopper