#smooth rotation (fixed)

1 messages · Page 1 of 1 (latest)

gleaming oriole
#

How can I make the rotation of my door smooth? I'm not using a rotator.

#

probably overthinking this

hollow vapor
#

use add and divide the subract result

#

or use lerp

gleaming oriole
#

whats lerp 😭

hollow vapor
#

a delicous drinks main ingredient

gleaming oriole
#

oh my god bro

#

thanks!!

proven sleet
#

Set rotation >> target Get rotation * (Vector3 Create(0,5,0), Quaternion Create Euler Angles)

#

Replace 5 with speed of rotation

gleaming oriole
#

like this?

proven sleet
#

Yeah

gleaming oriole
#

ok but the door is supposed to like rotate to where the trigger handle is

#

so thats why the vector3 mask is there

proven sleet
#

Do you know what mask does

gleaming oriole
#

and i want it to like make it smoothly rotate instead of just instantly like snapping there

#

yes

#

at least im pretty sure

proven sleet
#

It does

gleaming oriole
#

the first one is what i mean, the door is following the trigger handle but its kind of like snapping and not smooth, yours is smooth but it just rotates around

proven sleet
#

Oh I see

#

Try yours, but do, rec room object take authority, and connect it to the door before running it

gleaming oriole
#

connect it to what?

proven sleet
#

Also place a if player is local

gleaming oriole
#

k

proven sleet
#

Connect it to the open part

gleaming oriole
#

remove if local player is auth?

proven sleet
#

Yeah

gleaming oriole
proven sleet
#

For the if player is local, do rec room object get authority

#

For the player

gleaming oriole
gleaming oriole
proven sleet
#

Wait I’m trying to think I’m having a cerebral flatulence

#

Try this

#

I don’t think youll need the get authority actually?

gleaming oriole
#

ok so remove it?

proven sleet
#

Yeah and then try that pic I sent

gleaming oriole
#

done

proven sleet
#

Is it smooth

gleaming oriole
#

no

#

its the same

proven sleet
#

Send circuit photo

#

Also change the event receiver to update

#

Instead of update 30hz

gleaming oriole
proven sleet
#

Wire the trigger handle player to the if player is local

proven sleet
gleaming oriole
#

ok changing it to update fixed it completely lol

#

thanks for fixing it!!

#

smooth rotation (fixed)