Alienhead Posted March 7, 2023 Share Posted March 7, 2023 The web on the left is placed into the scene via the editor. Loads up fine, looks like it's suppose to. The web on the right is placed into the scene with code: and it turns out as you see... weird. Nothing else is set. Same model, same material. What's causing it to load two different ways? local web = Model::Load("models/webs/1.mdl") web:SetPosition(entity:GetPosition(true)) I'm building a random procedural dungeon and I need to place the webs by code. 1 Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Alienhead Posted March 7, 2023 Author Share Posted March 7, 2023 Heh I couldn't figure it out either.. never happen before. I'm on a 7day game jam so haven't got time to mess with it no more. I fudge it, I just stuck abunch of webs all over the room then randomly hid some on loadup. The rooms and map got to be random each load up.. so that works for now. Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Josh Posted March 8, 2023 Share Posted March 8, 2023 Upload please! Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.