Spawning Clientside-Physics
Posted: Mon Feb 15, 2016 6:37 am
Looking at Entity.properties it shows that "m_iPhysicsMode" is a valid property for Entity.
How does sp gather this information? i assume it dumps them from the sdk or sthn?
The problem i have is that i cant find any entity, who actually successfully changes this value. and prop_physics, definately should do..
so i thought, maybe the property is somehow wrong, but the only other similar property i found was this:
"m_bClientPhysics".
both dont work. ive tried it on "prop_physics_multiplayer".
could it be that the "Entity" object automatically gets networked? and therefor certain properties get dismissed? get read only?
if so, how could m_physicsmode be used outside of tempentites?
(1) looking at tempentities, they probably use a function to "unnetwork" edicts OR (2) a function that adds them into an "unnetworked" dict..
if first is true, is the server able to call such a function? if second is true, is it possible, to copy "sendtables", that are used to add to the dict?
is the server able to directly push sendtables to the client? ( to skip the entire "entity.create()" process, that probably does a few unneeded checks ) ?
thanks
How does sp gather this information? i assume it dumps them from the sdk or sthn?
The problem i have is that i cant find any entity, who actually successfully changes this value. and prop_physics, definately should do..
so i thought, maybe the property is somehow wrong, but the only other similar property i found was this:
"m_bClientPhysics".
both dont work. ive tried it on "prop_physics_multiplayer".
could it be that the "Entity" object automatically gets networked? and therefor certain properties get dismissed? get read only?
if so, how could m_physicsmode be used outside of tempentites?
(1) looking at tempentities, they probably use a function to "unnetwork" edicts OR (2) a function that adds them into an "unnetworked" dict..
if first is true, is the server able to call such a function? if second is true, is it possible, to copy "sendtables", that are used to add to the dict?
is the server able to directly push sendtables to the client? ( to skip the entire "entity.create()" process, that probably does a few unneeded checks ) ?
thanks