All Activity
- Today
-
Yah I saw that error as soon as I posted this message. Seems to be NO WAY to delete a topic anymore so I had to just leave it.
-
Josh started following Longtime weird LUA occurances
-
How do you know that layer1Amount equals 40? That seems very odd to hard-code the array size. You can use #uagc_clouds to get the array size.
-
Alienhead started following SetLodDistance () and Longtime weird LUA occurances
-
This has been happening awhile but I haven't came back to it yet because i havent needed to do anything like this until now. Here is some the code: --- Start the clouds for t=1, self.layer1Amount do uagc_clouds[t].mesh = self.layer1Cache[math.random(1,self.layer1TypeCount)]:Instantiate(world) uagc_clouds[t].mesh = Model(uagc_clouds[t].mesh) uagc_clouds[t].mesh:SetHidden(false) uagc_clouds[t].mesh:SetPosition(player.entity:GetPosition()) uagc_clouds[t].mesh:SetPickMode(0) local anum = math.random(self.minScale, self.maxScale) uagc_clouds[t].mesh:SetScale(anum, anum, anum) uagc_clouds[t].mesh:Translate(math.random(-self.maxDist,self.maxDist), math.random(self.minHeight,self.maxHeight), math.random(-self.maxDist,self.maxDist)) uagc_clouds[t].mesh:SetLodDistance(self.lod1, self.lod2, self.lod3) uagc_clouds[t].speed = Random(self.maxSpeed/2, self.maxSpeed) end --->> Move the clous for t=1, 40 do uagc_clouds[t].mesh:Translate(0,0,1) --- THIS LINE ERRORS OUT !, says uagc_clouds[t].mesh is nil when clearly the code above sghows it isnt. end
-
Found it: uagc_clouds[t] = Model(uagc_clouds[t]) uagc_clouds[t]:SetLodDistance(50, 60, 70)
- 1 reply
-
- 1
-
Model::SetLodDistance parameters changed, up to four LODs are supported. Changed to what ?
-
Alex Hoxdson joined the community
-
Andy90 started following Prefabs dragged
-
i think it can be related to this bug
-
Try this: self.mesh2 = Model(self.mesh2) self.mesh2:SetSkeleton(self.mesh.skeleton)
-
Alienhead changed their profile photo
-
Sent it up again, wasnt broken on my end however.
-
The user reported that the console is continuously printing "Invalid operation" errors while the game runs.
-
Josh started following SetSkeleton()
-
Why is the image link broken?
-
The false argument should prevent the null character from being written at the end.
-
0.9.6 Added terrain mesh layer picking, which means 3/4 of my tasks I listed for the week in Saturday's meeting are already finished. The PickInfo structure now has an integer for the index of the mesh layer and an iVec2 for the exact picked instance.
-
Alienhead started following SetSkeleton()
-
Why do I get this when using the command self.mesh:SetSkeleton(self.mesh2) ?? Do the two models have to be identical even this the bone rig is identical ? This is my code that bottoms out. self.world = self.entity:GetWorld() self.mesh = LoadModel(self.world, self.playerModelFilenname) self.mesh2 = self.mesh:Instantiate(self.world) self.mesh2:SetScale(1.35,1.35, 1.35) self.mesh2:SetSkeleton(self.mesh)
- Yesterday
-
I had to use WriteLine for Leadwerks as WriteString wrote extra data at the end. Much appreciated!
-
Error: Surface drawn with no active shader.
CJO Games replied to CJO Games's topic in Leadwerks Engine Bug Reports
Fixed! I had to completely remove the project files from Documents and then set up a new project and now it works with no problems! -
0.9.6 Foliage tool will now make use of slope and height constraints. Imposter generation will now remove a previously generated imposter, if it is found, so you don't have to manually delete those each time you update the imposter.
-
Pleca started following Error: Surface drawn with no active shader.
-
It's working! My bad sorry.
-
-
0.9.6 Imposter lighting corrected. I also made some corrections to how the imposter images are generated, so I recommend recreating these. Make sure you delete the old imposter mesh and LOD from the model hierarchy before creating a new one.
-
Error: Surface drawn with no active shader.
Josh replied to CJO Games's topic in Leadwerks Engine Bug Reports
Very likely! -
Alienhead started following Prefabs dragged
-
-
ErhanK started following UpdatePhysics() is not called.
-
Hi. In Actor class, useupdatephysics bool is true, but UpdatePhysics() function is not called.
-
Error: Surface drawn with no active shader.
CJO Games replied to CJO Games's topic in Leadwerks Engine Bug Reports
I wonder if this is the isue: Loading shader "C:/Users/Administrator/Documents/Leadwerks/Projects/ALonelyOrbit/Shaders/Lighting/directionallight.shader"... Failed to link shader. -
For some reasons the model prefabs get culled wrong. https://streamable.com/u6a83p Create an Prefab with an Model and place it into the scene.
-
Error: Surface drawn with no active shader.
Josh replied to CJO Games's topic in Leadwerks Engine Bug Reports
Maybe there is a shader compile error earlier in the log?