Author Topic: sphere model collision issues  (Read 2239 times)

i know transparency can be goofy in torque sometimes but i'd like to know if there is actually a solution that i don't know about



so two things:
1) why do some of the faces randomly become goof when the model becomes transparent and is there a solution
2) is there a way to solve the common problem of bricks and the sort being invisible through transparent DTS shapes


edit:
and a third:
the model's collision works for players (haven't tested vehicles), but not for projectiles. is there a solution to this?

the collision mesh is obv a sphere so i can't see how that could possibly be convex but maybe my understanding of the word is incorrect
is there a limit on collision mesh complexity? in which case, why would it only work for players and not for nothing?
« Last Edit: July 17, 2015, 10:20:09 PM by otto-san »

I'm pretty sure its somin wrong with triangulating

I'm pretty sure its somin wrong with triangulating
the faces are uniformly triangle-shaped because it's an ico-sphere (used uvsphere beforehand, changed cus i wondered if it was the exporter bein goofy with quads)

here's the .blend file
https://dl.dropboxusercontent.com/u/11058668/asd/smoothSphere.blend
« Last Edit: July 16, 2015, 06:34:17 PM by otto-san »

ok this is going to sound very stupid, But did you check Triangle strips?

(Under DTS Exporter Shape > Shape Options > Triangle Strips <3)


i solved the goofy model problem by

a) turning of double-sided faces (for my purposes, i needed players to see inside the sphere as well, so i made another mesh inside and flipped faces, which had strange effects on the model when opaque, but when transparent it works perfectly)
b) exporting with triangles rather than triangle strips
c) exported the material as translucent (unsure of the effect this had toward the end result)


now, the collision is still a problem. i know torque doesn't like concave collision meshes but i don't think that should be a problem with something that is a sphere. to my understanding, that's one of the most convex things on the planet so idk wtf is goin on with this

https://dl.dropboxusercontent.com/u/11058668/asd/smoothSphere.blend

pls help

vehicles kinda collide with something, but whatever they collide with doesn't quite appear to be the collision mesh and it doesn't scale with the object. the most important thing is that projectiles will collide, though.
« Last Edit: July 17, 2015, 10:48:19 PM by otto-san »

Your sphere has way too many polygons, it's probably making the collision resolver go haywire or something. You should probably use an icosphere with the subdivision level set to 2.

Your sphere has way too many polygons, it's probably making the collision resolver go haywire or something. You should probably use an icosphere with the subdivision level set to 2.
ah i figured this had something to do with it

i was using an icosphere before i think but i'll make a simpler one

edit: thanks! that worked
« Last Edit: July 18, 2015, 03:18:33 PM by otto-san »

Woo! Congratulations on getting it to work.
What's this for, dare I ask?