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
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Tue Oct 26, 2010 10:58 pm

Its better to use Box object for collisions?
B
134
S
65
G
16
Posts: 1,765
Reputation: 19,188

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
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

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
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Previous

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 3 guests