Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
STAcxa's avatar
STAcxa
Explorer
5 months ago
Solved

Instant Content Placement Rotation is slight

Issue: Whenever I place an object on the wall or the floor the rotation is slightly off.
Example: I point at my floor, hit the index trigger to spawn Instantiate the prefab, however its rotation is not 90° and it is slightly tilted.

Is there any solution for that, which does not require a self written placement script?

  • Edit: I am Dumb:
    I used transform.Rotate(0, 0, 0) Instead of transform.rotation = Quaternion.identity;

2 Replies

Replies have been turned off for this discussion
  • Edit: I am Dumb:
    I used transform.Rotate(0, 0, 0) Instead of transform.rotation = Quaternion.identity;

  • Anonymous's avatar
    Anonymous

    Thanks for coming back and sharing your solution, it really helps others who run into the same problems!