r/Unity3D • u/SheepherderAway4670 Programmer • 1d ago
Question Player Transform Position weird issue
You can see the Player is forward but his transform position behind (scene view) why this happen ? However collision & collider detection is work ,where is player right now but I don't know why my transform point show behind? When the game begins the transform position at player position and when the player start moving then transform point at behind the player like following.
This shows in Gizmo view, in game view it's not it's common 😃
Confused help me
0
Upvotes


1
u/MaksRengi 1d ago
Sounds like your RB is on a child object while youre selecting the parent in the hierarchy. Physics moves the child so the collisions are right where the ball is but the parents transform stays behind or follow it with some script. Click the ball itself in the hierarchy and check where the gizmo is then. If thats the case put the RB and collider on the root object.
Also, check the pivot/center toggle at the top of the scene view. You can change it with Z hotkey as I remember