Hi there, hope you are having a good Tuesday!
In my project I’ve been creating a character component, called playerCylinder, which has a camera parented to it.
In example A, i created the camera like this:
What ended up happening, is that the camera moved faster than the cylinder, and after a while the camera and playerCylinder would be far apart.
I then created the camera like this instead, and it worked completely normally, with the camera and playerCylinder moving at the same rate!
So it got me thinking, what is the difference between these two implementations?
return(box.position == new Vector3(box.position.x, box.position.y, box.position.z)) //False
Sorry for the stupid question XD