|
Hello everyone, glad to be on board here. Here's the issue: I have a cylinder that I need to move from a starting position/rotation to a new position/rotation over time. I've done this kind of thing in the past, but this time I've decided to take advantage of Unity's built in functionality. However, I'm new to Unity so I'm having trouble wrapping my head around the whole Quaternion/Euler thing. I've tried to start off just working with the rotation, and here's what I have so far:
Below is the function where I try to do the rotation
Well, needless to say this isn't working. It rotates the cylinder a tiny bit but once it reaches it's end it bounces back and forth (probably because I'm not checking for the clamp). Can anyone tell me what exactly I'm doing wrong? I hope that once I get this sorted out I'll be able to deal with the translation in a similar way but first things first. Thank you. If you need any other info please let me know. -Mo
(comments are locked)
|
