#Do raycasts work with teleport duration?
1 messages · Page 1 of 1 (latest)
I think teleport duration is only visually
I saw someone make a smooth cutscene camera with one, so I'm not certain
I would suggest trying it yourself
I'm unfortunately unable to at the moment
:<
If someone is able to, would it be possible to test for me? If not, I can try later
I don't really understand the raycast part of the question here. Do you mean a slowcast?
If so, afaik no, teleporting a display entity with a longer than 1 teleport duration will not be positioned accordingly if you run a new command at its position before it has "finished" teleporting
But it's been a while since I messed with it, so I encourage you to check yourself when able
Aw.. :(
Hmmmm... I'll have to figure something else out ^^
How would I make a slowcast where a display entity moves smoothly from one position to the next?
Also, why do you want to do this?
So I can have custom projectiles that render as items and move smoothly in incremental steps
That's just a simple slowcast projectile, I don't understand what the problem is
Same as if you were using a marker
I'm trying to move it in incremental steps of 0.1 blocks
(These custom projectiles move a certain number of steps per tick so that collision is better)
Yes that's what a slowcast is
Do you just not know how to do a slowcast? We can answer that
But we don't currently understand what the actual problem is
Hmmmmm
I'm fairly certain that my system already counts as a slowcast, but it would be useful to know the official description ^^
My main goal here is to make movement look as smooth as possible, and I'm worried that instantly teleporting an entity will make it look too choppy :<
It's just an incremental teleport
You say you want it to move 0.1 blocks every tick. That's a slowcast
No, it will do a mini-raycast every tick to move forward
I don't know how to help you here