Topic: Stationary Projectile
Hi I'm in need of a land mine type projectile that doesn't move. The speed doesn't go below 1 for me in projectile options and I need it to be 0. Is there a way do this without source?
Universal Fighting Engine Forum We are no longer using the forum to answer questions due to bot attacks. Please use our discord instead: https://discord.gg/hGMZhF7 |
You are not logged in. Please login or register.
Universal Fighting Engine Forum → General → Stationary Projectile
Hi I'm in need of a land mine type projectile that doesn't move. The speed doesn't go below 1 for me in projectile options and I need it to be 0. Is there a way do this without source?
Hi,
Once I did long time ago,
I make a script then attach it to prefab of projectile.
just modify transform.position.x be 0 in Fixedupdate()
kind of tricky ha.
If you have the source version, open MoveEditorWindow.cs and look for this line:
moveInfo.projectiles[i].speed = EditorGUILayout.IntSlider("Speed:", moveInfo.projectiles[i].speed, 1, 100);
Now change the 1 to 0. Like this:
moveInfo.projectiles[i].speed = EditorGUILayout.IntSlider("Speed:", moveInfo.projectiles[i].speed, 0, 100);
@korea0799 Thanks for the recommendation.
@Mistermind Thanks, I would love to see this in the next UFE update.
@korea0799 Thanks for the recommendation.
@Mistermind Thanks, I would love to see this in the next UFE update.
It will be.
Another thing I would suggest for landmine projectiles is allow a prefab and a sound to be played if the landmines get destroyed after time.
Universal Fighting Engine Forum → General → Stationary Projectile
Powered by PunBB, supported by Informer Technologies, Inc.