| 102 | |
| 103 | extern PxF32 gJumpForce; |
| 104 | static void gJump(Console* console, const char* text, void* userData) |
| 105 | { |
| 106 | if(!text) |
| 107 | { |
| 108 | console->out("Usage: jump <float>"); |
| 109 | return; |
| 110 | } |
| 111 | |
| 112 | const float val = (float)::atof(text); |
| 113 | // shdfnd::printFormatted("value: %f\n", val); |
| 114 | gJumpForce = val; |
| 115 | } |
| 116 | |
| 117 | // PT: TODO: use PhysXSampleApplication helper for this |
| 118 |