Physics movement and collision suggestion

New releases and general discussions.

Post » Wed Sep 03, 2008 1:39 pm

Hello again, I'm sure this has been mentioned before but since there's a nice forum here for all this i figured why not.
It would be great if the physics behaviour's velocity/force/etc was in pixels per second. I know right now they're pretty similar speeds (eg: 200 velocity is almost 200 pixels per second) but it would be nice if it was spot on. Dunno how feasible it is but i like the idea, then again there's no huge rush to put it in.
Another thing that would ROCK which I know has been mentioned is toggling a physics object's collisions, being able to turn them on and off and choosing which objects could collide with which at runtime would pretty much complete the physics object for me :D

Anyways, love the program, keep up the awesome effort guys! :D
B
3
S
2
G
5
Posts: 351
Reputation: 2,377

Post » Wed Sep 03, 2008 2:53 pm

Also specifically, please make it possible so objects won't collide with other instances of the same object. That would be GREAT for stuff like debris. Physics doesn't actually seem to use much processing power except when lots of stuff is piled on top of each other, so this way would enable lots of stuff all over the screen without a big performance hit.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Wed Sep 03, 2008 3:52 pm

Good ideas. However, if the units are changed to pixels per second like everything else, which would be nice for consistency, all existing physics based apps would change and need their values changed. Are you happy for this to happen?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Wed Sep 03, 2008 9:22 pm

Well, Construct is in beta, so "let the buyer beware" so to speak. And if it's ever going to be changed now's the time.

On one hand I haven't really needed or cared about any such consistency in speed in any of my stuff yet, but on the other I can see how it would be a useful, and logical change.

Obviously I can't let apathy rule over logic, so if we're voting, I vote for changing it.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Wed Sep 03, 2008 9:25 pm

[quote="Ashley":2lkycgqc]Good ideas. However, if the units are changed to pixels per second like everything else, which would be nice for consistency, all existing physics based apps would change and need their values changed. Are you happy for this to happen?[/quote:2lkycgqc]

Yes, it's MUCH MORE consistent.
B
2
S
2
G
5
Posts: 512
Reputation: 2,674

Post » Thu Sep 04, 2008 6:28 am

If only you had the option of "toggling" between the two options, but that would most likely be lots of work.
B
134
S
65
G
16
Posts: 1,766
Reputation: 19,190

Post » Thu Sep 04, 2008 6:53 am

[quote="alspal":3oh84xze]If only you had the option of "toggling" between the two options, but that would most likely be lots of work.[/quote:3oh84xze]

I'm not sure there would be any need for that. The only reason to do it really would just be to support backwards compatibility with older projects, of which there are probably few (if any) serious ones that rely on the physics behavior as it now stands. Sure, a couple people might have to change the numbers in their .caps but the benefit going forward from here is worth the sacrifice of their rather minor inconvenience. The good of the many outweighs the good of the few.

Or the one.

Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Sep 04, 2008 5:10 pm

I've added collision detection for the next build - physics collisions also trigger 'On collision'. I'll see about the other features.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Thu Sep 04, 2008 10:20 pm

[quote="Ashley":1deafgn6]I've added collision detection for the next build - physics collisions also trigger 'On collision'. I'll see about the other features.[/quote:1deafgn6]

You are awesome.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Sep 04, 2008 11:36 pm

Thanks Ash you're a legend
B
3
S
2
G
5
Posts: 351
Reputation: 2,377

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 6 guests