Page MenuHomeFeedback Tracker

Ability to move a vertex from an Object in game
New, UrgentPublic

Description

Hello,

today I come to make a request in order to be able to give a little more life to some models.
Currently we have the possibility to get the position of a vertex through code, but not to define it. The function in question is called: "GetVertexPosition".

For some very special cases, the possibility of moving a vertex manually could be useful, here are some examples:

  • Make a graffiti wrap around a pole
  • Give an impression of movement to certain objects
  • Moving a flag*
  • Giving a particular shape to a structure

etc....

I think that the realization of this function can be very useful to the community, and that it will be able to make good use of it!

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

DjCtavia created this task.Aug 16 2019, 3:43 AM
Selgy added a subscriber: Selgy.Aug 16 2019, 3:43 AM

Can't you just use model.cfg animations for this?

I don't think, because you're talking about the fact that we can do an animation with this ticket? If that's the case, we always stay limited, some vertices need to be in specific places calculated on the moment T, and the fact of creating animations prevents you from having precise things because it's pre-defined. (Correct me if I'm wrong, and you weren't thinking about that)

And, we could use bones; but I think that additional data on an object that must be "simple" (depending on the context of use) seems greedy to me, unlike changing the position of a vertex.

You can assign a single vertex a selection name and animate it for all axis. Instead of setting the position via script, you would translate the target position to a local animation value for the axis. You would need to name all the vertices you want to move anyway in order to know which is which in script. So the step from doing that to just giving it animations is quite small.

Unknown Object (User) added a subscriber: Unknown Object (User).Aug 16 2019, 5:04 PM