dumb question
if we attach with setparent spawned entity to zero bone or one exact, can we just set starting position and rotation? because I can't
settings are just ignoredCode:BaseEntity ent = GameManager.server.CreateEntity(prefab, pos, Quaternion.Euler(180,90,0)); ent.SetParent(fe,"ak47_barrel_lod0"); ent.Spawn(); ent.UpdateNetworkGroup(); ent.SendNetworkUpdateImmediate();
maybe Im missing adding Rigidbody and it ought to be here? or something todo with setting parent for transform object for spawned entity?
GameManager.server.CreateEntity position/rotation setting?
Discussion in 'Rust Development' started by wazzzup, May 27, 2017.