#Particles
1 messages · Page 1 of 1 (latest)
you use the player's vector (normalised direction they are facing)
im not a user of skript-particle, but you can use vectors, rotated around the player's vector to make a circle with normal in the direction they are facing
so with that could i just rotate shapes {_helix} around {_vector} by 90 degrees and set {_vector} to the direction of player?
or does that just mean that setting the {_vector} to player would do the same thing?
you would need to use the spherical syntax, where you specify a vector's orientation through yaw and pitch:
vector from yaw y and pitch p
then just plug the player's yaw and pitch in
yes i use skrayfall ahh statment
? its skript syntax: https://skripthub.net/docs/?id=849
ik
alright thanks
Okay sorry for being dumb but I am totally thinking about this the wrong way am I
set {_pitch} to player's pitch
set {_helixsphere} to sphereical vector radius 1, yaw {_yaw}, and pitch {_pitch}```
That looks like a step in the right direction
The problem is that skript doesn't understand the 3rd line
How do I get a player's yaw and pitch?
did you fix the typo in this
spherical
you know
that's actually a magnificent idea
LOL
also i do have a similar code ive done but im not on my computer atm
and i kinda forgot how i did it, but the method youre doing rn should work
thanks for the help 👍
Next question (im so sorry)
How do I implement that variable into this
draw the shapes {_helixcool} at {_helixsphere} for 3 seconds
https://skripthub.net/docs/?id=9414 with this im p sure
you can set the rotation of the shape to axisAngle(0, {_whateverVectorYouMade})
or smth like that
im not 100% sure how axis angle works myself i mostly got my particle stuff working by messing around with rotations and axisAngle
I dont use skript particle
Look at the sybtax, maybe for 3s doesnt work. In that case, loop it
skript particle just uses skbee for particles but simplifies it a little bit
but lowk im still so confused
i've tried a few things
I just don't know what to use anymore because you guys have shown so many options
r u trying to draw aniamted shape
I'm just tryna make a shape that points where the player is looking
The way I do it wout skript-particle is add 90 pitch to the vector from the player and then rotate
u can set their normal vector
Returns the normal vector of a shape. This, by default, is the vector (0, 1, 0) which points directly up.If the shape is rotated, this will be the vector that is pointing up after the rotation. Treat it as what the shape thinks is "up".
Changing this will rotate the shape accordingly. Resetting or deleting it will set it back to the default orie...
i would just get the vector from player to like 1 block forward of player then set the particle's normal vector to the vector
i didnt even know about this LOL
thats def an easier way