OK, so I was trying to create a script, noticing there’s some problems.
Whenever I use Instantiate, it creates multiple (about 5) duplications. And since the duplicated objects have rigidbodies wacky things happen. I created a prefab so it’ll use instantiate to the prefab, so (Clone)(Clone) objects won’t happen (previously had a problem with that).
Problem 1: The projectile won’t shoot correctly
Problem 2: Some projectiles are stuck, therefore acts like a wall when the player tries to move
Problem 3: Some projectiles shoots backwards.
Problem 4: Added Destroy after 5 seconds, and got this:
Destroying assets is not permitted to avoid data loss.
If you really want to remove an asset use DestroyImmediate (theObject, true);
UnityEngine.Object:smile:estroyImmediate(Object, Boolean)
Antares.Vizio.UnityEngineBlocks.ObjectDestroyImmediateDo:In()
Antares.Vizio.Runtime.Trigger:Invoke()
Antares.Vizio.Runtime.TriggerLink:Invoke()
<WaitForSeconds>d__10:MoveNext()
I haven’t used DestroyImmediate yet, though.
One more thing, how can I add ITween support for Antares? (Sorry couldn’t find anything)
Any help?