How can i make Gravity-rooms in a marble-race?
Posted: Tue Jul 02, 2019 8:11 pm
Hello
I created a little room for my marbles to start:
Now i want to create a path out of such little rooms, rotated into different directions.
If a marble collides with the walls of one of theese rooms, it should get gravity towarts the round side of this room, to leave it through the gap there.
How do i create this gravity-trick?
I found a way to add permanent velocity to the marbles, if they touch the walls of a room (down pointing rooms just remove this velocity).
Now the marbles travel through all theese rooms, but sadly donĀ“t bounce, if in left, right or upwards pointing rooms...
How can i make them bounce in all directions?
I created a little room for my marbles to start:
Now i want to create a path out of such little rooms, rotated into different directions.
If a marble collides with the walls of one of theese rooms, it should get gravity towarts the round side of this room, to leave it through the gap there.
How do i create this gravity-trick?
I found a way to add permanent velocity to the marbles, if they touch the walls of a room (down pointing rooms just remove this velocity).
Now the marbles travel through all theese rooms, but sadly donĀ“t bounce, if in left, right or upwards pointing rooms...
How can i make them bounce in all directions?