0
Answered

Move Player (a floating bot) Up and Down

Byron Bennett 4 months ago in Game Creator updated by Marti (Lead Developer) 4 months ago 1

Hello,

I am using the Character Controller for the Player, and cannot figure out how to allow the character to move up and down in space. I've tried several of the camera motors.

I've turned of gravity and fall speed so my character can float in space, and that works. I'm able to move it on the initial plane, but cannot figure out how to get it to go up or down. 

Ideally, I'd like to lock the player's rotation on the initial plane (I think the x-axis), but need to be able to have move player vertically. 

This is a little drone bot that the player will be driving around to inspect a set of objects that exist along the x, y, and z axes.


Thanks, for your help! 

Unity version:
2019.4.1
Game Creator version:
1.1.9
GOOD, I'M SATISFIED

Ok, makes sense...Thanks for the input.


Cheers!

Satisfaction mark by Byron Bennett 4 months ago
Answered

There's no "easy" way to do this out of the box. However, you can create a custom Action that allows to modify the gravity modifier of the player. This, combined with max-fall speed you should get able to get something live being in zero-G