Garry's Mod

Garry's Mod

169 ratings
UI .OBJ Loader with physics
4
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Movie, Scenic
File Size
Posted
27.774 KB
4 May @ 11:52am
1 Change Note ( view )

Subscribe to download
UI .OBJ Loader with physics

Description
UI .OBJ Loader with physics

A simple UI that can load .obj models placed in garrysmod/data/models with or without physics.
i.e: Create a prop in Blender, spawn it without compiling into .mdl/restarting the game.

UI FEATURES

-Multiple models can be spawned (No limit)
-File browser to load models from garrysmod/data/models (Create folder)
-List of spawned models for individual selection/editing.
-XYZ position/pitch/yaw/roll/scale
-File browser to load models with PHYSICS (interacts only with the world)
-Reset position

USAGE

Place your OBJ models in garrysmod/data/models
Bind a key to "open_objloader_ui"/start in console
Load your OBJ model, no game restart required.
Spawn at crosshair with physics/static
Edit XYZ position/pitch/yaw/roll/scale of STATIC models only.
Mass is directly related to the triangle count.
The more complex the model, the heavier.


DISCLAIMER
This addon is unfinished and I may continue working on it in the future.
I don't know how to texture the .obj models/create physics that interact with entities not just the world.
Spawned models use models/debug/debugwhite texture
so feel free replace it with your model's (must convert to .vtf/.vmt)
and you should be able texture it. (Single texture)

Normals are inverted by default.


Feel free to edit this addon if you'd like to finish it.
32 Comments
Monkey Freeman 12 Jul @ 12:29pm 
LOL
pcjerry 7 Jul @ 11:42am 
AMAZING!
Mr. System Error 1 Jul @ 2:07am 
Epik
evoL 21 Jun @ 12:10pm 
If I were at all decent at modeling software I'd be over the moon, great work
Mr.Heisenberg official 21 Jun @ 11:10am 
Amazing, Perfecto
дядя MOSFET 16 Jun @ 7:01am 
URL support would be great
Alexandrovich  [author] 5 Jun @ 3:46am 
@albertlolek46 Thanks!
albertlolek46 1 Jun @ 1:19pm 
THIS IS GREAT!
Alexandrovich  [author] 25 May @ 12:43am 
@filz0 Thank you
filz0 23 May @ 12:13pm 
Very cool!