Hey guys,
The most important thing I can think of is performance. When you for example have a large level that you can split up in arena's, you only want to check collision with objects that are in the area you're currently in.
K
Search found 1882 matches
- Mon Sep 29, 2008 11:19 am
- Forum: ZGE Source Code
- Topic: Adding a UndefineCollision
- Replies: 3
- Views: 15146
- Sun Sep 28, 2008 3:19 pm
- Forum: General discussion
- Topic: DefineVariable?
- Replies: 1
- Views: 3664
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: 22187
- Fri Sep 26, 2008 2:31 pm
- Forum: General discussion
- Topic: Beta release 1.9.3b
- Replies: 21
- Views: 22187
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: 6980
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: 21016
- Sat Sep 20, 2008 2:54 pm
- Forum: Your projects
- Topic: anothe useless bit of nothing,.
- Replies: 4
- Views: 6734
- Sat Sep 20, 2008 2:12 pm
- Forum: Feature requests
- Topic: Inheritance
- Replies: 21
- Views: 21016
Inheritance
Hi,
A inheritance / extends property for Models combined with a Class Component would come in handy when constructing various models that share a number of Variables and Behaviors.
K
A inheritance / extends property for Models combined with a Class Component would come in handy when constructing various models that share a number of Variables and Behaviors.
K
- Sat Sep 20, 2008 1:36 pm
- Forum: General discussion
- Topic: Clarification needed! urgent! ;)
- Replies: 4
- Views: 6218
Hi Francesco, I've mentioned this before, and I'll mention it again :) Step based collision isn't a good method for physics type solutions. It's only good for gathering information. Depending on how far the ball has traveled into the block, it will give a different result when using the Stop Action....
- Sat Sep 20, 2008 11:24 am
- Forum: General discussion
- Topic: Clarification needed! urgent! ;)
- Replies: 4
- Views: 6218
Hi Francesco, What exactly is the problem here? The fact that the documentation does not clearly state that OnStop still triggers OnCollision Events in Models as well? I guess it could be clarified in the Wiki that all Collision Actions will always trigger OnCollision at the least. By the way, the b...
- Tue Sep 16, 2008 3:43 pm
- Forum: General discussion
- Topic: How to limit the framerate?
- Replies: 7
- Views: 9053
Hej jph, Well, no .. there is no easy way at the moment. Apart from when you're using Rect2D_OBB, then you can just use the scale properties and CollisionOffset to extend the collision box while countering the rendered scale using a RenderTransform. Problem is that with these kind of collision check...
- Tue Sep 16, 2008 3:16 pm
- Forum: Tips'n'Tricks
- Topic: hi
- Replies: 5
- Views: 7329
- Tue Sep 16, 2008 1:53 pm
- Forum: General discussion
- Topic: How to limit the framerate?
- Replies: 7
- Views: 9053
Hi diki, Even though you're only mentioning the collision situation merely as example, step based physics and collision checking is outdated and concidered bad practice in most cases. Developers these days extrude the bounding mesh of a object over the velocity direction vector with a extend of the ...
- Sun Sep 14, 2008 11:05 am
- Forum: Tips'n'Tricks
- Topic: hi
- Replies: 5
- Views: 7329
- Fri Sep 12, 2008 10:15 pm
- Forum: General discussion
- Topic: Variable Scope / Publicity and Privacy
- Replies: 2
- Views: 4760
Hi diki, The easiest solution for your problem would be to change the SpawnStyle of the two SpawnModel components from Clone into Reference. However, when you'd insist on using Clones, there are a couple of things that need to be changed. Variables that belong to individual models need to be defined...