Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Bolt Instantiate - Sceneobject reference

$
0
0
Hello,
I have a small problem

I want to instantiate a bullet which moves forward (done)

But this bullet diesnt get the reference to the player (GameObject.find) doesnt work since theyre called all the same (Player Clone)

BoltEntity entity = Boltnetwork.instantiate....
Entitiy.getcomponent........... = player(is referenced in my gun object) doesnt work also, its just "nothing" in the editor window...

I need it to get the speed and damage from the player and to send the exp from the attacked object if it gets destroyed...

Viewing all articles
Browse latest Browse all 15755

Trending Articles