#FPV Drone Simulator
1 messages · Page 1 of 1 (latest)
Thrust Test
private float NormalizeInput(float inputValue)
{
var zeroToOne = Mathf.InverseLerp(-0.72f,0.72f,inputValue);
return zeroToOne;
}```
still gotta do some work tho, b/c im using some magic numbers to get the inputs I need..
the radio starts at -.72 with the gimbal all the way down.. but I think its firmware in the radio itself.. theres dead-space at the end and beginning of the input
- Im thinking perhaps a little calibration prompt so I can get the full range before hand.. and use that for the `InverseLerp`
not sure how to get the potentiometers to work.. not seeing them show up in the Input Debugger
lol, basic quadcopter (terrible controls)
I meant is this a drone combat game
or just flying around
I think I already saw a similar one on steam
just prototyping for now.. not sure what ill do with it.. but right now im just trying to figure out some good physics