#Item display moving side to side

1 messages · Page 1 of 1 (latest)

trim wren
#

I think the issue is that your doing it in steps that are too big (From a vector of 45 to -45). You could try doing something with loops to gradually increase the vector to 45 then to -45 which should make it look smoother.

robust galleon
#

I hope that this could help

#

try to rotate armor stand

normal fox
normal fox
robust galleon
#

even then I think you can rotate that as I showed

dry river
#

use interpolation

#

smooth it out

#

set interpolation duration of <entity> to <number of ticks, ex. 5>

<rotate the entity>
wait 5 ticks```
normal fox
#
            set interpolation duration of {_egg} to 5
            set display left rotation of {_egg} to quaternion from vector vector(45,0,0)
            wait 5 ticks
            set interpolation duration of {_egg} to 5
            set display left rotation of {_egg} to quaternion from vector vector(-45,0,0)
            wait 5 ticks```
#

Do you know any other way i can fix this

#

i got no errors when i used it

#

just didnt work

dry river
#

duration you set once

#

start you set to 0 right before you rotate it

normal fox
# dry river duration you set once
            set interpolation duration of {_egg} to 5
            set display left rotation of {_egg} to quaternion from vector vector(45,0,0)
            wait 5 ticks
            set display left rotation of {_egg} to quaternion from vector vector(-45,0,0)
            wait 5 ticks```

This doesnt work either
dry river
#

did you read anything i said

normal fox
#

Yes i did but im not really understanding it

#

set start of {_egg} to 5

#

i tried this

#

Ohhh @dry river
set interpolation duration of {_egg} to 20
set interpolation start of {_egg} to 20

#

like this

dry river
#

start should be set to 0

#

right before you rotate

#
start
rotate
wait <duration> ticks```
normal fox
#

Alright thanks a lot

#

Also @dry river do you know if i can rotate the item display in the center instead of from the top as at the moment its like its rotating just around top but i want it to shake from the center point

#

is it something to do with set display left rotation of {_egg} to quaternion from vector vector(45,0,0)

dry river
#

display translation

#

if that still rotates weirdly idk