hey guys, i just need to know the basics of how to do this, i recently switched from blender so this is a bit different, i want to press e in game near and object (for example a hang glider or a jet pack) and i want to steer and everything, i know what to do in blender but i switched for reasons needless to say XD so please help or direct a tutorial my way please and thank you
I don’t know if there’s a tutorial that covers this exactly. Something this specific will typically need to be broken down into sub-problems, each of which can be tackled individually, e.g.:
-
Detecting when a particular key has been pressed.
-
Determining whether one object is near another (for some definition of ‘near’).
-
Implementing different methods of locomotion for objects (humanoid character control, flying with a jet pack, gliding using a hang glider, etc.).
-
Transferring control from one object (e.g. the player character ‘on foot’) to another (e.g. the player character flying around with a jet pack).
If you were able to do it in Blender, then that suggests you don’t have any problem with the ‘breaking down the problem’ part, which means it’s just a matter of solving the above problems in Unity’s terms. What I’d recommend is tackling those problems one at a time, and posting back here with specific questions regarding the things you’re unsure of.
alright man good plan thanks ![]()