By the way,
Here's a useful debug setup while working with centerMouse. It uses the Escape key to toggle Debug state as it's the only hard-coded key in executables & unused in the Editor.
K
Search found 1876 matches
- Tue Sep 30, 2008 2:57 pm
- Forum: Tips'n'Tricks
- Topic: Geometry
- Replies: 14
- Views: 34203
Let's try a spring.
Code: Select all
this.V.X = (Pi+Radius*cos(V))*cos(U*Length);
this.V.Y = (Pi+Radius*cos(V))*sin(U*Length);
this.V.Z = Radius*(sin(V)+Period*U*Length/Pi);
- Tue Sep 30, 2008 2:56 pm
- Forum: Tips'n'Tricks
- Topic: Geometry
- Replies: 14
- Views: 34203
Followed by, a pillow.
Code: Select all
this.V.X = cos(U);
this.V.Y = cos(V);
this.V.Z = (sin(U)*sin(V))/Pi*2;
- Tue Sep 30, 2008 2:56 pm
- Forum: Tips'n'Tricks
- Topic: Geometry
- Replies: 14
- Views: 34203
Next, a teardrop.
Code: Select all
this.V.X = 0.5*(1-cos(U))*sin(U)*cos(V);
this.V.Y = 0.5*(1-cos(U))*sin(U)*sin(V);
this.V.Z = cos(U);
- Tue Sep 30, 2008 2:47 pm
- Forum: Tips'n'Tricks
- Topic: Geometry
- Replies: 14
- Views: 34203
Geometry
8) A collection of useful ( and not so useful ) procedurally generated meshes. All generated with a Grid2DOnly MeshBox using U and V coordinates ranging from -Pi to Pi ( unless notified ). First up, a diamond cluster. this.V.X = (2+sin(U)*sin(V*4))*sin(V)*-1; this.V.Y = (2+sin(U)*sin(V*4))*cos(V); t...
- Tue Sep 30, 2008 1:17 pm
- Forum: Feature requests
- Topic: Sound
- Replies: 2
- Views: 4759
- Mon Sep 29, 2008 3:16 pm
- Forum: Feature requests
- Topic: bitmap manipulation - add stretch and translate to zoom_rot
- Replies: 14
- Views: 13552
- Mon Sep 29, 2008 11:29 am
- Forum: Feature requests
- Topic: Sound
- Replies: 2
- Views: 4759
Sound
Since there currently doesn't seem to be a way to play back samples unfiltered / unprocessed ( when approaching the native playback speed of a sample, it starts sounding rather metallic / hollow ), a Sample and PlaySample component would be welcomed.
K
- Mon Sep 29, 2008 11:24 am
- Forum: Releases
- Topic: ZGameEditor 1.9.2
- Replies: 4
- Views: 19978
- Mon Sep 29, 2008 11:19 am
- Forum: ZGE Source Code
- Topic: Adding a UndefineCollision
- Replies: 3
- Views: 14928
- Sun Sep 28, 2008 3:19 pm
- Forum: General discussion
- Topic: DefineVariable?
- Replies: 1
- Views: 3652
DefineVariable?
Hi guys,
Not sure whether it makes any difference or not, but what is the most appropriate place to define global variables? In OnLoaded or Content? Just wondering ..
K
Not sure whether it makes any difference or not, but what is the most appropriate place to define global variables? In OnLoaded or Content? Just wondering ..
K
- Sat Sep 27, 2008 3:19 pm
- Forum: General discussion
- Topic: Beta release 1.9.3b
- Replies: 21
- Views: 22117
- Fri Sep 26, 2008 2:31 pm
- Forum: General discussion
- Topic: Beta release 1.9.3b
- Replies: 21
- Views: 22117
Hej Ville, Great new component, ZLibrary. Though, I'm curious why you choose to define the function name in the ZLibrary itself instead of going with a Condition Component style approach and actually use the Name field as Function name. Although this way you only need one ZLibrary instead of one for...
- Wed Sep 24, 2008 1:52 pm
- Forum: General discussion
- Topic: basic First Person engine - an open-source community project
- Replies: 3
- Views: 6957
Hi, Use the following code to get the aim right. CurrentModel.Velocity.Vertical = sin(CurrentModel.Rotation.Vertical*Pi*2); CurrentModel.Velocity.Longitude = sin(CurrentModel.Rotation.Horizontal*Pi*2)*cos(CurrentModel.Rotation.Vertical*Pi*2); CurrentModel.Velocity.Lattitude = cos(CurrentModel.Rotati...
- Sun Sep 21, 2008 3:43 pm
- Forum: Feature requests
- Topic: Inheritance
- Replies: 21
- Views: 20934