Zero-G movement system
pizzaoverhead opened this issue ยท 0 comments
Need to come up with a movement system, e.g. can grab walls in range (assume magnetic gloves) and push from them, or pull towards selected props like handles (will need to decorate IVAs with lots of these).
A possible implementation for discussion:
- Looking at selected handle props and pressing a "pull" key should add acceleration between the kerbal and the prop.
- When in contact with a prop (or within a specified interaction range/arm length), pressing "pull" should quickly reduce relative motion between the kerbal and prop to 0 to allow holding onto it.
- For non-grabbable colliders, a "push" key should add acceleration awak from the prop/kerbal currently being looked at.
- The "jump" key should apply acceleration kerbal-upwards when a collider is within interaction range. When pressing a movement key at the same time, the force should be angled in that direction. The force should be reduced depending on the relative angle of the surface (i.e. harder to push horizontally off a floor).
- To prevent getting trapped, have a very low acceleration reactionless "struggle" movement (with appropriately amusing sound effects).