#Rotating magazine of a revolver

1 messages · Page 1 of 1 (latest)

hazy flame
#

Any help?

quaint cloud
#

You can use Quaternion.RotateTowards to change a rotation to a specific angle over time.

hazy flame
# quaint cloud You can use `Quaternion.RotateTowards` to change a rotation to a specific angle ...

This is what i have. its a magazine of a revolver. How can i rotate the magazine to the required bullet using the code. (The magazine should rotate and the bullet need to be on top, in place of the hammer).
is this possible using Quaternion.RotateTowards like u said?

The bullets are seperate object with its own transforms. Also i have a function to get the current bullet that is going to be shot.

#

Now the axis of rotation is also a problem🥹