Asterix Gaming Guild Logo GeneralXXLXXL 2XXL 3XXXLOlympic GamesXXL EditorToolsOff-TopicXXL RomasteredXXL 2 RemasteredOther GamesModsCaesar's ChallengeUnfair XXLPatchesFan ArtPersonal ArtSpeedrunningMediaRandomizerBETA RomeHSKALPresence AdrienPresence SPQRPresence Mr. RubinshteinSupport Bot Helpdesk

#editor

adrientd
direction probably depends on the order of the vertices
adrientd
like for flipping triangles for rendering
adrientd
Think of the "cross product"
adrientd
The cross product is not commutative: if you change the order of the vectors, the cross product becomes the opposite
pegperegogaucho
this is my ground
pegperegogaucho
and it has 4 finite walls
pegperegogaucho
and they work fine :PogU:
pegperegogaucho
but its like a trap
pegperegogaucho
you walk in and can't get out
pegperegogaucho
but yeah for some reason they are pointing the right direction in the editor
pegperegogaucho
but in-game its different
adrientd
Also there might be a flag that could flip the walls
pegperegogaucho
yeah, now i change the indices and it works :HmmChamp: i guess maybe because the wall height is negative?
adrientd
ah, maybe wall height also changes direction too
pegperegogaucho
do you reckon it matters if the shape is convex or concave? :PES_Think:
adrientd
the wall or the ground?
pegperegogaucho
the ground itself
adrientd
I don't think it should matter
adrientd
It's a list of triangles anyway
pegperegogaucho
:OkayChamp: Thanks for your input!