Jump to content
Sign in to follow this  
Lenyoga

Using named vertices in the model as reference points in the game

Recommended Posts

I'm not too sure if this would fit the config/scripting section better, but I have a question.

Is it possible to use points in the memory section in a p3d as reference points for positions? For the use in scripts, for example when having particle effects or other things that use xyz coordinates taking those directly from a named vertex of a named unit's 3d model's points. Or is there a way to take the position points from the house models' path LOD for that purpose?

Share this post


Link to post
Share on other sites

I only have limited experience with the drop command.So I can't say for certain that

vertices in the memory section can't be used for reference.I would say no.

The center of the P3d is the way it's usually done,with an offset to get to the required location.

Like generating a missile tied to the fired EH,when there are no proxies for that missile type

on the model.

Upon firing,the missile is created at the P3d's center,then instantly moved to the proper

launch point by script.

That's how I tackle the generation of particles at a location too.

Offsetting it from the model center.

Edited by Maczer

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×