Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Any way to reset the networkTransform values?

$
0
0
Hi all,

I'm currently prototyping a moba in unet and having some difficulties trying reset the networkTransform values.

Let me explain the situation.

1.- When a "minion" (is a pooled GameObject) die in "a" position/rotation, I "release" that one (I disable the gameObject and mark it as usable for the pool system).
2.- I wait the respawn interval.
3.- Then I spawn the "minion" in "b" position/rotation, making that gameObject enable and used.

The problem is when I spawn that "minion"...

Any way to reset the networkTransform values?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>