Trying to figure out how to rotate objects along custom axis

   37   0   0
User Avatar
Member
35 posts
Joined: 10月 2023
Offline
Trying to rotate two specific points at the center of a cylinder in such a way that when I put a 90degree pipe on those points in unreal, the pipes will be facing downwards, to simulate going into the ground.
Looked into using quaternions for this approach but I cant seem to get the rotations I desire.
Without any angle manipulation the situation looks like this, where the pipe isnt facing the cyclinder and the bottom part is floating up instead of facing down:


Applying 90 degree turns to rectify this situation, somehow ends up with pipe that visualy look like they were turned 45 degrees



No idea on what I am misunderstanding about the situation.
Edited by Subutai - 今日 11:21:12

Attachments:
base_state.png (1.3 MB)
90degrees.png (712.8 KB)
pipeline.hipnc (212.3 KB)

  • Quick Links