Jump to content

[WIP] KRAG(Kerbal Relative Artificial Gravity) Alpha, Help needed

Recommended Posts

Ok, so I've looked all over this forum and this is what I've come up with.

KRAG System: (Kerbal Relative Artificial gravity)

How it work right now

while in orbit Kerbal up direction is based on the normal of the object below taken from a raycast

kerbal is pushed downwards

when it contacts a part it enters "Idle (Grounded)" state

"AWSD" keys for movement


Current Issues

can't rotate kerbal ...yet

when starting walking forward kerbal bounces up causing animation to stop as well as just being annoying

The main issue I'm struggling with is the bouncing. I'm thinking its either colliders being enabled or the game is trying to re-orientate the kerbal to the planet below when walking starts.

If anyone has any ideas I'd appreciate the help :)

here is the VS project and a compiled dll is in  bin/debug

KRAG System


Edited by Kalzuron
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...