How to reset or spawnplayer inside game environment c++ code #3394
Replies: 1 comment 3 replies
-
Not entirely sure based on what you've described, so there could be multiple ways. First, is your requirement same as an existing API such as Since you mentioned creating a vehicle specifically, #2390 might be useful for you. It adds an API to create a vehicle at runtime. In that also, you could directly use the API implementaiton method in WorldSimApi |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am building a game environment with c++ code for my research project. the environment will be created from external commands. After building the environment I want to reset the player at a certain location. It has to be from environment c++ not from external c++ client.
My steps:
For this step 2:
Which c++ class from airsim plugin should I use?
WorldSimApi, ASimModeBase, AirBluePrintLib, or something else.
I could not find any code comment to get idea of starting point.
I am lost. Please help me with a starting point. A simple player reset/spawn example with c++ will be greatly appreciated.
best regards,
robi
Beta Was this translation helpful? Give feedback.
All reactions