- Home /
How can I make space Movement? C#
Hey there I want to make a 2D platformer in space. But how can I make that a object is moving forever? If I push it a lil bit with a other object (example), it should move forever at the same speed.
I hope u can help me :) Timo
Answer by sujitmarcus · Apr 11, 2020 at 02:30 PM
@Casiell is right
Also, you could always create your own gravity and do rigidbody.addforce for spacelike Moment in zero gravity.
Answer by JustAbhi · Apr 12, 2020 at 02:22 PM
You could set the drag and use gravity of your rigidbody to 0 and false and change velocity of your rigidbody for spacelike movement.
Hope this helps @chernobyyl
Your answer
![](https://koobas.hobune.stream/wayback/20220612231107im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Can't get platforming character to jump 2 Answers
instantiates in the same place 2 Answers
Any way to completely learn to script in C# using Unity? 3 Answers