Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Ogeeice |
I have watched numerous videos on moving platforms apart from the fact that all are for 2d games I haven’t made progress implimenting it in 3d and I need serious help on how to make one
I would like to help, but I haven’t experimented enough with 3D. That written, I have seen the move_and_slide_with_snap()
function, which may help you with what you need.
Ertain | 2019-07-11 21:38
There’s a few ways of doing it like using an animation, tween or scripting the movement yourself using lerp, translate or move_and_slide.
Magso | 2019-07-11 21:49
which one of these steps can you help me with
Ogeeice | 2019-07-11 22:04
I didn’t realise this at the time but I listed them easiest to hardest codewise and I forgot to mention PathFollow but I’ve never used that myself. It depends on what you’re after, if the path is complex use animation or PathFollow. If it’s linear use a Tween or lerp
and if it changes course or interacts with anything, move_and_slide
would be the best option.
Magso | 2019-07-12 00:31