The following code doesn’t produce any errors, but the parachute isn’t appearing.
The model is fine - I’ve tested it as a misc_gamemodel and it’s registered it with cgs.media
void CreateParachute(gentity_t *owner) {
gentity_t *chute;
vec3_t velocity,chute_origin;
VectorClear(velocity);
velocity[2]=-PARA_SPEED;
chute=G_Spawn();
chute->classname="parachute";
chute->think=ParachuteThink;
chute->nextthink=100;
chute->enemy=owner;
chute->s.pos.trType=TR_LINEAR;
VectorCopy( velocity, chute->s.pos.trDelta );
VectorCopy( owner->r.currentOrigin, chute_origin );
chute_origin[2]+=72;
G_SetOrigin(chute,chute_origin);
}
Any Ideas?