After getting the camera with PlayMaker, how do I get it to change its perspective to that of another object?
Best Answer
C
Chujo @STYLY
said
over 3 years ago
Here's how to force the camera to teleport to the location of another object.
1. get an instance of the "other object" with the "FindGameObject" Action
2. get the position and angle of the "other object" with the "Get Position" and "Get Rotation" Actions
3. Teleport the camera to the location of the "other object" using the "Set Position" and "Set Rotation" Actions. Set Position" and "Set Rotation" actions for the camera to teleport to the location where the "other object" is located.
This can be implemented in the following steps.
1 Comment
Chujo @STYLY
said
over 3 years ago
Answer
Here's how to force the camera to teleport to the location of another object.
1. get an instance of the "other object" with the "FindGameObject" Action
2. get the position and angle of the "other object" with the "Get Position" and "Get Rotation" Actions
3. Teleport the camera to the location of the "other object" using the "Set Position" and "Set Rotation" Actions. Set Position" and "Set Rotation" actions for the camera to teleport to the location where the "other object" is located.
This can be implemented in the following steps.
Hara
After getting the camera with PlayMaker, how do I get it to change its perspective to that of another object?
Here's how to force the camera to teleport to the location of another object. 1. get an instance of the "other object" with the "FindGameObject" Action 2. get the position and angle of the "other object" with the "Get Position" and "Get Rotation" Actions 3. Teleport the camera to the location of the "other object" using the "Set Position" and "Set Rotation" Actions. Set Position" and "Set Rotation" actions for the camera to teleport to the location where the "other object" is located. This can be implemented in the following steps.
Chujo @STYLY
Here's how to force the camera to teleport to the location of another object. 1. get an instance of the "other object" with the "FindGameObject" Action 2. get the position and angle of the "other object" with the "Get Position" and "Get Rotation" Actions 3. Teleport the camera to the location of the "other object" using the "Set Position" and "Set Rotation" Actions. Set Position" and "Set Rotation" actions for the camera to teleport to the location where the "other object" is located. This can be implemented in the following steps.
-
Error message is displayed when uploading Prefabs to STYLY, and model can not be uploaded.
-
Light doesn't show up correctly in STYLY Studio.
-
I want to check if an object is in view on STYLY.
-
About how to generate an event on STYLY Mobile (AR).
-
I want to move from a STYLY scene to another website.
-
I want to determine if a player has entered a certain area in the browser.
-
I would like to upload Timeline as a prefab, but an error is displayed and can not be uploaded.
-
A model created with Blender does not display correctly in STYLY.
-
Collisions are not detected correctly with PlayMaker.
-
About Equipment of InteractionSDK.
See all 170 topics