|
|
Re: Model won't move, collision box does?
[Re: Redeemer]
#300391
12/01/09 23:29
12/01/09 23:29
|
Joined: Dec 2009
Posts: 8
Spkka
OP
Newbie
|
OP
Newbie
Joined: Dec 2009
Posts: 8
|
Its a model in the WED, set with the polygon flag. And its name is Door. This action is called after I pressed the button. I tried and I get the pointer to the entity. I figured when I add the action to behaviour its just like it should work.
action OpenDoor()
{
ENTITY* Door= ent_for_name ( "Door" );
var a;
for ( a = 0; a < 300; a++ )
{
Door.y -= 0.4;
}
wait(1);
}
Last edited by Spkka; 12/02/09 00:24.
|
|
|
Re: Model won't move, collision box does?
[Re: Spkka]
#300429
12/02/09 13:57
12/02/09 13:57
|
Joined: Apr 2005
Posts: 3,076 Germany, NRW
rvL_eXile

3D Artist
|

3D Artist
Joined: Apr 2005
Posts: 3,076
Germany, NRW
|
Try to use Skills to identify which door meant the Player..
cYa Sebastian
Tutorials: [Blender]Terrain creation ENG/GER [Blender]Low Poly Tree Modeling [GIMP]Create a Texture for Terrains CLICK HERE
|
|
|
|
|
|