New Collision Mode: Angled Bounding Box

New releases and general discussions.

Post » Wed Oct 20, 2010 2:35 am

[quote="Ashley":26mfloty]This is a good idea for C2, but per pixel isn't much of a waste of resources. At 1 bit per pixel for a collision mask you're only using 128kb of memory for a 1024x1024 object, on machines which these days typically have well over 1gb physical RAM going spare.[/quote:26mfloty]
I think he means processing time, which is significantly larger for per-pixel than bounding box.

Did you try dummy box objects? they are *exactly* what you're looking for.
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Wed Oct 20, 2010 3:20 am

I forgot about the box object. Tis one of those lost forgotten objects.
B
33
S
5
G
8
Posts: 1,210
Reputation: 7,046

Post » Tue Oct 26, 2010 10:58 pm

Its better to use Box object for collisions?
B
141
S
68
G
17
Posts: 1,769
Reputation: 20,124

Post » Wed Oct 27, 2010 4:41 pm

No, unless you have a huge object that needs a custom hitbox to save on performance.
B
33
S
5
G
8
Posts: 1,210
Reputation: 7,046

Post » Fri Oct 29, 2010 9:38 pm

not sure if it was a bug but a while back i remember rotating a box object has the same kind of problem as bounding box collisions, using it might not fix this problem.
B
67
S
11
G
8
Posts: 1,966
Reputation: 9,429

Previous

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests