meetric1 / gmod-infinite-map

GNU General Public License v3.0
179 stars 30 forks source link

obj world offset #112

Closed Def-Try closed 1 year ago

Def-Try commented 1 year ago

i am sorry if this is worse than i thought, but parser needs world offset if we want to make infmaps with cities or something like that

OBRISON commented 1 year ago

This seems pointless. Why not move the whole map in blender instead?

Def-Try commented 1 year ago

maybe not just maps? or duplication of maps on random positions?

meetric1 commented 1 year ago

currently the obj loader does not support collision on multiple map models

your code isnt terrible, but it doesnt really work currently in the way you think it will work

ill leave it open since it seems like i need to add this as an option at some point

(also.. if you are going to modify vertex position dont do it when parsing the faces do it when parsing the vertexes)

Def-Try commented 1 year ago

I tested it and seems like collision works in 50% of parses, so I was already thinking that it is not gonna work that easy.

meetric1 commented 1 year ago

A custom matrix has been implemented allowing for custom scale, rotation, and translation so this is obsolete

Thanks for "suggesting" though!