So i see many drone system with height messurement,like when you fly it calculate height.So how can this be done with player,when he jump,or go to building to get messurment of height
Hey there @Balkanacsb! Depending on the implementation you want for this, I answered a question last year about relatively the same thing but couldn’t find the thread again so I found where I demoed it in my work answers project. You’d do it a bit like this, but you could also use a line trace instead of previous location. I think clockwork and I both added solutions to that post and his was more in depth, but alas I can’t find it.
This gives you how many units higher you went than your last Z.
1 Like
Hi @Balkanacsb
A line trace straight down until you hit the landscape, then get the hit position z value and subtract it from your drone z seems the best choice no?
if @SupportiveEntity idea works too then you have a choice.
Stewart