Hello. I’m using the following 2 lines to have a 3D Object follow the 3D Camera.
I’m want to make an Object Carrying mechanic, where the object once picked follows the camera view.

I have trouble having consistent results so the Object follows the up and down camera view on the Z axis.
Can you help me on what to put inside the “Change the Z position of [3D Object]” ?
Can you also explain me where does that camera come from these behaviors?
- FirstPersonPointerMapper
- Physics3D
- PhysicsCharacter3D
Cheers
im facing a lot of issues with figuring out these axis’ too…
The FirstPersonPointerMapper behavior changes the position and angle of the camera according to the mouse relative to the position of the object, btw.
Ok I managed to cook something. I had to understand what Camera was, what “camera eyes” meant, etc… I used the IA built in which for once was useful compared to external options.
The best way I found was to define the center of the player via its bounding box center, the Z axis being from Object3D because it’s not on bounding boxes (unfortunately).
The Z axis Local Variable called RefZ handles : Player eyes center + Jump offset + manual center offset (if you want to fiddle with it later via a variable).
Then it rotates the Object towards the defined eyes center.
I’m not finished with but this answers my post. Cheers