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
41
S
8
G
9
Posts: 1,219
Reputation: 8,064

Post » Tue Oct 26, 2010 10:58 pm

Its better to use Box object for collisions?
B
143
S
72
G
19
Posts: 1,777
Reputation: 21,704

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
41
S
8
G
9
Posts: 1,219
Reputation: 8,064

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
74
S
13
G
8
Posts: 1,972
Reputation: 9,816

Previous

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests