- Home /
Question by
sujitha304 · Aug 10, 2019 at 05:48 PM ·
scripting problemlerpmathjumpingpivot-point
Calculating jump while rotating around pivot
i want make the player be able to jump inside a cylinder while rotating around a pivot point
this is what it looks like this is what i want to achieve.
what i thought i could do was take the local up direction as its pointing directly away from pivot and taking the inverse value and doing something with that but i just cant seem to get it to work. i was able to test this out as well in the editor by changing the coordinate space to local and it works. but i just cant wrack brain around how im supposed to do this since i also want the player be able to rotate around while mid air jumping as well.
if anyone has any clue on how to do this it would help me out a lot
untitled-1-01.jpg
(314.5 kB)
untitled-1-02.jpg
(333.8 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612210440im_/https://answers.unity.com/themes/thub/images/avi.jpg)