I’m having alot of trouble spawning objects diagonally. I know how to spawn them from left/right and up top. I’m assuming the physics would be dynamic because they need to fall but I can’t seem to figure out the equation so they would fall diagonally. Any help would be appreciated. [import]uid: 69494 topic_id: 31040 reply_id: 331040[/import]
It’s not clear what you want to do - do you mean:
-
You want objects pulled by gravity towards the bottom right/left of the screen
-
You want objects to appear on screen in a diagonal formation and then fall straight down
-
You want objects to move diagonally across the screen [import]uid: 93133 topic_id: 31040 reply_id: 124132[/import]
I’m sorry, I should’ve been more clear. I meant objects moving diagonally from the top left and right side across the screen. Also, objects pulled by gravity towards the bottom right/left of the screen as well. [import]uid: 69494 topic_id: 31040 reply_id: 124163[/import]
So can anyone help me? [import]uid: 69494 topic_id: 31040 reply_id: 124272[/import]
You’d have to apply force or the like, gravity and only pull/push/point in one direction at once. Just something to keep in mind. [import]uid: 52491 topic_id: 31040 reply_id: 124284[/import]
It’s not clear what you want to do - do you mean:
-
You want objects pulled by gravity towards the bottom right/left of the screen
-
You want objects to appear on screen in a diagonal formation and then fall straight down
-
You want objects to move diagonally across the screen [import]uid: 93133 topic_id: 31040 reply_id: 124132[/import]
I’m sorry, I should’ve been more clear. I meant objects moving diagonally from the top left and right side across the screen. Also, objects pulled by gravity towards the bottom right/left of the screen as well. [import]uid: 69494 topic_id: 31040 reply_id: 124163[/import]
So can anyone help me? [import]uid: 69494 topic_id: 31040 reply_id: 124272[/import]
You’d have to apply force or the like, gravity and only pull/push/point in one direction at once. Just something to keep in mind. [import]uid: 52491 topic_id: 31040 reply_id: 124284[/import]