Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Iterate over object in code
Post: RE: Iterate over object in code
(06-14-2016 07:32 AM)RedcrowProd Wrote: oh i see, sorry then
Well i'm not sure if that's possible you will need Esenthel to tell, or someone that uses a system like that to comment here then =p... |
|
mixpro |
Support |
13 |
12,332 |
06-14-2016, 07:34 AM |
|
|
Thread: Iterate over object in code
Post: RE: Iterate over object in code
(06-14-2016 07:00 AM)RedcrowProd Wrote: something like this might work:
Code:
class ClassInfo
{
enum AllyourEnumhere
{
Spook,
&nbs... |
|
mixpro |
Support |
13 |
12,332 |
06-14-2016, 07:14 AM |
|
|
Thread: Iterate over object in code
Post: RE: Iterate over object in code
(06-14-2016 06:36 AM)RedcrowProd Wrote: well the objmap is only being populated by item already in the world that you have set up.
do you mean you want to have like an enum with all your items... |
|
mixpro |
Support |
13 |
12,332 |
06-14-2016, 06:51 AM |
|
|
Thread: Iterate over object in code
Post: RE: Iterate over object in code
yeah the new() was the problem ,
but i think there is a misunderstanding here , as i already use setObjType() for other object .
but the container which in my case is Game.ObjMap<PathPiece > my... |
|
mixpro |
Support |
13 |
12,332 |
06-14-2016, 05:39 AM |
|
|
Thread: Iterate over object in code
Post: RE: Iterate over object in code
(06-13-2016 08:49 PM)RedcrowProd Wrote: well do you set the world ? this way will only works if Game.World.id() is defined
sorry i don't understand , i'm new to the engine , this is the code r... |
|
mixpro |
Support |
13 |
12,332 |
06-13-2016, 09:05 PM |
|
|
Thread: Iterate over object in code
Post: RE: Iterate over object in code
thanks Amnedge1331 for the reply .
(06-12-2016 09:08 PM)Amnedge1331 Wrote:
Code:
Game.World.setObjType(objItem, OBJ_ITEM).New(world.id());
You need to add setObjType(objItem, OBJ_ITEM) to in... |
|
mixpro |
Support |
13 |
12,332 |
06-13-2016, 07:49 PM |
|
|
Thread: create multiple particle in single object
Post: create multiple particle in single object
Hi ,
as the title suggests , i watched a couple of videos on creating effects , in order to create a high quality particle effects , one particle effects contains two even four particles for instance ... |
|
mixpro |
Support |
1 |
3,224 |
06-13-2016, 04:33 PM |
|
|
Thread: Iterate over object in code
Post: Iterate over object in code
Hi ,
seems like a silly question but i can't find answer for it .
In code how do iterate over object that are created in the editor .
for example i have created/imported 3d objects into the editor, l... |
|
mixpro |
Support |
13 |
12,332 |
06-12-2016, 02:35 PM |
|
|
Thread: Transparent backgroud when rendering to texture
Post: RE: Transparent backgroud when rendering to textur...
(05-20-2016 01:13 PM)Esenthel Wrote: You might want to check this tutorial:
UID(240031802, 1298250585, 1065203598, 2912159632) /* Apps\12 - Rendering\13 - Combining Render with Background */
A... |
|
mixpro |
Making Games |
2 |
5,986 |
05-22-2016, 06:15 AM |
|
|
Thread: Transparent backgroud when rendering to texture
Post: Transparent backgroud when rendering to texture
Hi,
in Render to Texture Tutorial , i tried removing the box leaving only the ball drawn in the texture .
doing so renders the ball surrounded by black color inside the texture , how do i make the... |
|
mixpro |
Making Games |
2 |
5,986 |
05-20-2016, 07:31 AM |
|
|
Thread: [SOLVED]moving skel obj
Post: RE: moving skel obj
(05-09-2016 12:39 AM)Esenthel Wrote: Matrix().move(..) ->
Matrix().setPos(..)
replace 'move' with 'setPos' which does initialize the entire matrix.
Thanks esenthel , that worked |
|
mixpro |
Beginner Questions |
5 |
6,237 |
05-09-2016, 05:44 AM |
|
|
Thread: [SOLVED]moving skel obj
Post: RE: moving skel obj
|
mixpro |
Beginner Questions |
5 |
6,237 |
05-08-2016, 07:44 PM |
|
|
Thread: [SOLVED]moving skel obj
Post: RE: moving skel obj
(05-08-2016 12:33 AM)Esenthel Wrote: don't move mesh or skeleton.
Instead call animated_skel.updateMatrix(here set custom draw matrix);
AnimatedSkeleton& updateMatrix (C Matr... |
|
mixpro |
Beginner Questions |
5 |
6,237 |
05-08-2016, 07:16 AM |
|
|
Thread: [SOLVED]moving skel obj
Post: [SOLVED]moving skel obj
Hi ,
i have created an animated skel from an object (the object have animation - open door) , how can i move it in the world ?
i tried :
Code:
door = ObjectPtr(UID(3856963616, 3268566013, 2296428730,... |
|
mixpro |
Beginner Questions |
5 |
6,237 |
05-07-2016, 07:50 PM |
|
|
Thread: [SOLVED]Reference dynamically added object in a world
Post: RE: Reference dynamically added object in a world
(05-07-2016 03:08 PM)Tottel Wrote: Hi there, you can use Game.World.objCreateNear, which return a Game.Obj* object. You can then use CAST(ObjectClass, pointer to object), to cast it to your own... |
|
mixpro |
Beginner Questions |
2 |
4,244 |
05-07-2016, 07:26 PM |
|
|
Thread: [SOLVED]Reference dynamically added object in a world
Post: [SOLVED]Reference dynamically added object in a wo...
Hi,
I'm using for example :
Code:
Game.World.objCreate(*obs_1,Matrix(obs_1->scale3(), tmpLastPos));
to add object to a world , but for certain objects i need to get a reference to them , so i can... |
|
mixpro |
Beginner Questions |
2 |
4,244 |
05-07-2016, 01:49 PM |
|
|
Thread: [SOLVED]Importing FBX from blender3d renders wrong rotation
Post: RE: [SOLVED]Importing FBX from blender3d renders w...
(05-05-2016 02:31 AM)aceio76 Wrote: FBX export from blender works. My artist exports animated models from the latest Blender with no issues. You would want to do FBX export especially if you h... |
|
mixpro |
Support |
6 |
8,111 |
05-05-2016, 07:42 AM |
|
|
Thread: [SOLVED]Importing FBX from blender3d renders wrong rotation
Post: RE: Importing FBX from blender3d renders wrong rot...
(05-03-2016 11:31 PM)Ezequel Wrote: Hi,
You could try to export to .DAE (Collada) format directly from within blender.
To do that you just have to enable a plugin in blender and select some opt... |
|
mixpro |
Support |
6 |
8,111 |
05-04-2016, 06:32 PM |
|
|
Thread: [SOLVED]Importing FBX from blender3d renders wrong rotation
Post: [SOLVED]Importing FBX from blender3d renders wrong...
Hi ,
i have created a door object with animation in blender , when importing it to esenthel i get the wall around the actaull door is rotated 90 degrees .
i tried couple of solution on the web like a... |
|
mixpro |
Support |
6 |
8,111 |
05-03-2016, 06:50 PM |
|
|
Thread: Dynamically create terrain OBJs
Post: RE: Dynamically create terrain OBJs
(04-28-2016 05:44 PM)Zervox Wrote: you can use game::static with PathObstacle, or you can derive Game::obj and make your own object that uses PathObstacle.
Thanks , it worked , but there was n... |
|
mixpro |
Making Games |
2 |
5,882 |
04-29-2016, 07:52 PM |