Search found 1964 matches
- Tue Dec 09, 2025 6:08 pm
- Forum: Feature requests
- Topic: Limit the code completion to ENTER key
- Replies: 6
- Views: 90
Re: Limit the code completion to ENTER key
Hi Ats, How do they do it in big IDE such as Visual Studio? In Visual Studio the IntelliSense dialog pops up as soon as you start typing ( if there's anything to suggest ). When there are still multiple possible suggestions, pressing the spacebar will close the IntelliSense dialog and add a space to...
- Tue Dec 09, 2025 11:50 am
- Forum: Feature requests
- Topic: Limit the code completion to ENTER key
- Replies: 6
- Views: 90
Re: Limit the code completion to ENTER key
Hi guys, Technically it's not just Ctrl+Space .. the auto-completion dialog also pops up when you stop typing for (approximately) 3 seconds. Anyway, even though i've never ran into this issue myself either, i do agree that insertion of the selected dialog item should only happen when pressing the En...
- Mon Dec 08, 2025 1:17 pm
- Forum: General discussion
- Topic: I need help with ZGEBullet zbtCreateHeightfieldTerrainShape
- Replies: 12
- Views: 218
Re: I need help with ZGEBullet zbtCreateHeightfieldTerrainShape
Hi Ats,
You're mixing up some of the axes in your expressions. For example "float x = round((V.X + 0.5) * gridSizeX)" in MeshExpression uses V.X but also gridSizeX .. which is basically set using "ycount" in createTerrain().
K
You're mixing up some of the axes in your expressions. For example "float x = round((V.X + 0.5) * gridSizeX)" in MeshExpression uses V.X but also gridSizeX .. which is basically set using "ycount" in createTerrain().
K
- Mon Dec 08, 2025 12:41 pm
- Forum: General discussion
- Topic: I need help with ZGEBullet zbtCreateHeightfieldTerrainShape
- Replies: 12
- Views: 218
- Mon Dec 08, 2025 12:30 pm
- Forum: General discussion
- Topic: I need help with ZGEBullet zbtCreateHeightfieldTerrainShape
- Replies: 12
- Views: 218
Re: I need help with ZGEBullet zbtCreateHeightfieldTerrainShape
Hi Ats, something is still broken somewhere… Just a wild guess .. but in case the collision seems slightly off sometimes, it's probably because Bullet interprets the heightfield values differently from the mesh that you end up with when using a Grid2DOnly MeshBox. https://i.imgur.com/hZ3WbpQ.png Bot...
- Sun Dec 07, 2025 2:04 pm
- Forum: General discussion
- Topic: I need help with ZGEBullet zbtCreateHeightfieldTerrainShape
- Replies: 12
- Views: 218
Re: I need help with ZGEBullet zbtCreateHeightfieldTerrainShape
Hi Ats, But yeah, that makes the next line complicated: Terrain[floor((v.X+1)*4.9), floor((v.Y+1)*4.9)] = h; You could change the MeshBox scale to 0.5 ( and i'd recommend round instead of floor ) so you can use: Terrain[round((V.X+0.5)*9), round((V.Y+0.5)*9)] = V.Z; Or you could set the scale to the...
- Sat Dec 06, 2025 7:51 pm
- Forum: General discussion
- Topic: I need help with ZGEBullet zbtCreateHeightfieldTerrainShape
- Replies: 12
- Views: 218
Re: I need help with ZGEBullet zbtCreateHeightfieldTerrainShape
Hi Ats, why is the MeshBox 8×8 while the array is 10×10? This is due to ZGE's non-standard subdivision values. If i recall correctly, this "issue" did get raised a long long time ago, but Ville didn't want to change the values because it would break backwards compatibility. Anyway, in ZGE ...
- Tue Nov 18, 2025 11:31 am
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
:!: Just be aware that the "Find unused components" and the new "Remove unused components" features aren't iterative. So in the following project only DemoMaterial ( and its MaterialTexture child ) will get removed, but DemoBitmap won't ( since it's used by MaterialTexture ). htt...
- Mon Nov 17, 2025 12:44 pm
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
Hej Ville, I noticed that indeed the file sizes are identical regardless of DEMO is defined or not but I think that could be some zero padding because if I add more code in the if(DEMO) block then sizes will differ. I know .. i wasn't trying to dispute your claim or something, the example was just t...
- Mon Nov 17, 2025 11:16 am
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
Hi Ats, Does it also skip integrating content such as Models and States that aren’t used when DEMO is set to 1, or should I continue working on my bat-trimmer? You need to trim those yourself. Attached is a simple example demonstrating this. Try building a standalone with DEMO set to 0 and another o...
- Sun Nov 16, 2025 11:08 am
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
Hi Ats, There's no easy & universal way to solve this. It really depends on your project and how it is structured. But a combination of option 2 & 3 should work? Do I need to tag DEMO on what is needed and remove the rest during compilation, or should I tag FULL and remove only those parts? ...
- Wed Nov 05, 2025 5:06 pm
- Forum: General discussion
- Topic: New planet mesh generator
- Replies: 8
- Views: 1470
Re: New planet mesh generator
Hi Ats, All right, it was not working because my mesh is in a ModelState (my model is handling all different kinds of astronomical bodies). Ah, then that approach won't work for your particular situation no. Are you sure you want to use a separate ModelState for planets and moons? Generally speaking...
- Wed Nov 05, 2025 1:47 pm
- Forum: General discussion
- Topic: New planet mesh generator
- Replies: 8
- Views: 1470
Re: New planet mesh generator
Hi Ats, How would you update the planet mesh when the model is a clone and the event that triggers the refresh is outside the model (general OnUpdate)? There's a bunch of ways to do this. One way is to store the spawned planet clones in an array, so you can address & refresh each planet's mesh d...
- Mon Nov 03, 2025 4:04 pm
- Forum: General discussion
- Topic: New planet mesh generator
- Replies: 8
- Views: 1470
Re: New planet mesh generator
Hi Ats,
There's no random component in your vertex expression. The noise3() function is a 3D perlin-noise calculation that gives you the exact same output every time you use the same input. So your planet mesh vertex coordinates do refresh, they just end up in the exact same place every time.
K
There's no random component in your vertex expression. The noise3() function is a 3D perlin-noise calculation that gives you the exact same output every time you use the same input. So your planet mesh vertex coordinates do refresh, they just end up in the exact same place every time.
K
- Wed Oct 22, 2025 11:44 am
- Forum: General discussion
- Topic: Questions regarding looping sounds using ZGE Sound
- Replies: 4
- Views: 1647
Re: Questions regarding looping sounds using ZGE Sound
Hi Ats, I’m still unsure how to handle deceleration though. Depends a little on how you want it to work / sound. One approach is to do something like this ( hold "S" key ) .. <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="Z...