#Shoot snowball direction
1 messages · Page 1 of 1 (latest)
Spawn it without any momentum then set its velocity
Ok I'll see how it works, because I use a snowball to teleport a display item (in stone) to simulate a catapult, do you think there is a better way?
I wouldn't know, I don't work with display items
but velocity only affects speed? It’s the direction that interests me
Yeah, set its velocity to a speed in a certain direction
but how to define the direction of a shot from a position?
not from a player, it works but it only pulls in one direction the same
Using vectors, there's a lot of ways
You can do vector(0, 1, 0) which would be straight up
I'm not very familiar with this but could I tell myself where I should place this vector?
Vectors are a direction, not locations, so you'd want to do
set velocity of last shot snowball to vector(0,0,0)
That would just stop it, I think
👍