Greetings everyone,
I am starting a new game in 2D in unity, but there is something I want to program of which I can’t find any help or information about on the internet. Maybe I have not looked good enough, but asking for is never wrong. So hopefully some you could help me.
There are two things that I have trouble with to program.
First:
A object which can be controlled with the mouse by clicking and dragging.
This object serves as a platform plateau which can move a object on it. Like a transport
So let’s say there is a bal and it’s moving to right and it ends upon the platform/plateau, but the ball is still moving to the right.
With the mouse you drag the platform/plateau to a spot, or destination or anywhere, with the ball still on top of it and the ball is still moving to the right.
The platform/plateau is not influenced by gravity and it is solid.
I hope this idea is understandable.
Second:
A self moving object. A object that moves to the right and is under influence of gravity. So it falls of ledges.
I have like a bit more than month to finish this game and if it is really to hard or diffecult than maybe I should think of some else. I am still doing research, still, if you guys or girls know a way or a code, please let me know.
With regards,
abragon