Perfect Collision mask for physics?

New releases and general discussions.

Post » Mon Apr 14, 2008 11:46 pm

So.. is there any plans to add a perfect collision mask to objects with the physics behavior? You know.. not rectangular or oval, but in the actual shape of the sprite!
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Mon Apr 14, 2008 11:55 pm

It's already there - "Per Pixel."
B
2
S
2
G
5
Posts: 391
Reputation: 2,432

Post » Tue Apr 15, 2008 12:00 am

That's only for the platform movement, object overlaps etc. The physics engine uses it's own collision mask which is set in the properties of the physics behavior. Right now you can choose between Bounding box, Ellipse and None.
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Tue Apr 15, 2008 12:01 am

Well hey, guess what? You didn't say physics in your first post!
B
2
S
2
G
5
Posts: 391
Reputation: 2,432

Post » Tue Apr 15, 2008 12:03 am

Well.. eh.. look again. :oops:
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Tue Apr 15, 2008 12:06 am

"Last edited by Attan on Tue Apr 15, 2008 12:02 am; edited 1 time in total"

Mmhmm, yes ... ;)

Anyways, depends on if the physics engine Ashley used supports it, I would think.
B
2
S
2
G
5
Posts: 391
Reputation: 2,432

Post » Tue Apr 15, 2008 12:12 am

Hmm.. I think it uses Newton Game Dynamics, so.. probably not since it's an engine for 3D originaly. Well.. We'll have to wait for ash for a final statement.
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Tue Apr 15, 2008 12:16 am

I wonder if maybe as a work-around, you can use a separate sprite set to the angle/position of the physics to detect for you.
B
2
S
2
G
5
Posts: 391
Reputation: 2,432

Post » Tue Apr 15, 2008 12:41 am

I don't know if it's possible either, but I'd really like to see it. I've been wanting to make a pinball game for some time, which isn't feasible without smooth curves. Well, not a good-looking pinball game anyway.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Apr 15, 2008 9:10 am

[quote="deadeye":3nfo6hyc]I don't know if it's possible either, but I'd really like to see it. I've been wanting to make a pinball game for some time, which isn't feasible without smooth curves. Well, not a good-looking pinball game anyway.[/quote:3nfo6hyc]

http://futurepinball.com/ ;)
B
2
S
2
G
4
Posts: 110
Reputation: 1,670

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests