Basically a “ghost” of the players weapon. Goran did a small tutorial on this subject however this consisted of multiple copies of the weapon being spawned on top of each other. The reason why this won’t work (for me) is because I want to have a semi visible sword slash not a fully visible sword slash. For this reason using a simple add object actuator would not work as the stacking of the weapon copies will be visible.
I was wondering how this effect would be created? here is an example of what I am talking about:
You addObject a “trail object” with the materials you like (it could even exist all the time).
Then you need a some Python to manipulate the vertices of the trail object. The vertices get the past position of the object to follow.
Because it is an interesting topic, I created a quick demo.
The Trailing Object works with one deforming object. The X-coordinates of the trailing object are used to track the past of the leading object. The original size on X, does not matter. But the Y/Z will be preserved.