simondlevy / MulticopterSim

Multi-language multirotor flight simulator using UnrealEngine
MIT License
124 stars 53 forks source link

Quick question on physics #5

Closed yhyu13 closed 5 years ago

yhyu13 commented 6 years ago

Just a quick question. In this line, should it be FVector(x,y,z) instead(as they are the result of rotational matrix times (0,0,1))? I am not sure I understand why it's necessary to negate the (x,y) components of the thrust in the inertial frame?

PS: I haven't run your project in UE editor yet, just skimming through your code. I'm looking forward to writing my drone simulation in UE as well. You're pretty good, @simondlevy!

simondlevy commented 5 years ago

Sorry it took me so long to answer this! Check out the new version for an explanation.