So if I get this right:
- Default: The regular collission stuff
- Box: Just a box, handy when you donât need physics
- Hull: A weird hybrid thatâs difficult to explain or understand?
Now I understand, although I canât explain it in words.
(Long live the video!)
Thatâs a very good explanation⌠did not expect that
(Although it isnât that simple at all)
YES
I switched all the characters in Stealth to use box collisions and so far it seems to be running a lot faster.
Huh you were just trying to explain âHull: A weird hybrid thatâs difficult to explain or understand?â in simple words and didnât know how .-.
It connects the outside âhullâ points and fills in the rest, is all.
Why does it do the blue things, while the red are also fine?
(I mean, my brain knows it should NOT be the red drawn thing, but difficult to explain in words)
Closest I can think of:
The best way to wrap the model in giftwrap paper.
Simple explanation: the red lines that you suggest (when drawn precisely) will probably create two edges that ever so slightly angle into the shape instead of outwards, thatâs not allowed for convex hulls. All of the angles between edges have to be 180 degrees or more outside of the shape.
Just as I realised my mistake while rereading my post, you answered.
I actually meant:
good luck with your game
The angle inside is more than 180 degrees there, so that would not be a convex hull.
Should the option not be âConvex Hullâ instead of âHullâ then?
Why isnât this property scriptable? I was trying to whip together something that would convert all of the CSGs in a certain type of model to âBoxâ quickly and it wouldnât let me.
Physics stuff is calculated in studio, so ehâŚ
EDIT: I remember that todayâs update added the new enum, but not a property using it.
Itâs probably one of those studio-only properties, just as with a few studio-only classes.
EDIT2: Alhough it would be nice for plugins to be able to set the CollissionFidelity of an union
Yep, thatâd be great for automation purposes where I can loop through a bunch of unions at once and change their CollisionFidelity at the same time. Itâs fine even if it pauses studio until all of them are done because I can leave it to do that and go do something else important instead of manually going through and changing the CollisionFidelity of the unions.
Does changing the property fire .Changed?
In that case, you could write a plugin that does something like:
for k,v in pairs(game.Selection:Get() or anotherTableOfPartsWantedToBeConverted)
game.Selection:Set{v}
v.Changed:wait()
end
You would just need to click the dropdown menu and select the option and repeat.
Still a pain, but lessâŚ
@Khanovich
Thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you.