#Item display moving side to side
1 messages · Page 1 of 1 (latest)
i dont know how those vector things work though as i found that code from what someone posted do you have any idea on how to do it?
its a item display
even then I think you can rotate that as I showed
use interpolation
smooth it out
set interpolation duration of <entity> to <number of ticks, ex. 5>
<rotate the entity>
wait 5 ticks```
Ill try it later thanks 🙂
i tried this and it didnt work
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
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
did you read anything i said
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
start should be set to 0
right before you rotate
start
rotate
wait <duration> ticks```
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)