Lasse Öörni
|
172a097b1c
Mark nodes and components separately for network update, instead of looping node's all components when one of them changes.
|
13 years ago |
Lasse Öörni
|
da921892b2
Rearranged Octant variables for more optimal access.
|
13 years ago |
Lasse Öörni
|
5bc2c61d88
Reorganized Node, Component, Drawable & Camera member variables for more optimal access.
|
13 years ago |
Lasse Öörni
|
91f6f87472
Explicitly mark changed nodes to avoid going through the whole scene in PrepareNetworkUpdate().
|
13 years ago |
Lasse Öörni
|
1c2cc43f14
Refactoring of how network updates to clients are collected. This removes costly, redundant Variant compares that were performed per-user.
|
13 years ago |
Lasse Öörni
|
c710fb4ef6
Further optimization of network updates. Use a HashMap to store replicated and local nodes and components separately. Query depended on scene nodes only once per network frame, not per user. Cache the network attribute infos to Serializable.
|
13 years ago |
Lasse Öörni
|
9ead094d5a
Removed the physics world maximum timestep, as it is already governed by the Engine's minimum FPS.
|
13 years ago |
Lasse Öörni
|
1e493ba802
Networked rigidbodies should work now.
|
13 years ago |
Lasse Öörni
|
ee3095e603
Added box collision shape.
|
13 years ago |
Lasse Öörni
|
1841169cb2
Fixed missing CollisionGeometryData code.
|
13 years ago |
Lasse Öörni
|
26e2ebca26
Fixed enemy motion bugs in networked NinjaSnowWar.
|
14 years ago |
Lasse Öörni
|
cc3ee34f58
Increased occlusion buffer depth bias.
|
14 years ago |
Lasse Öörni
|
30430d24ad
Fixed Node::Clone() to respect the local mode of child nodes & components.
|
14 years ago |
Lasse Öörni
|
b0831fcab3
Fixed bug in editor where bone hierarchy would appear twice in the scene window if loading an object with bones.
|
14 years ago |
Lasse Öörni
|
a341b9ea4f
Cleaned up Menu code.
|
14 years ago |
Lasse Öörni
|
f58e2595bf
Rewrite node & component IDs when instantiating content from file.
|
14 years ago |
Lasse Öörni
|
9abf84de11
Cleaned up SceneResolver related code. Moved post-load ApplyAttributes() to Node.
|
14 years ago |
Lasse Öörni
|
b6b8279174
Added a mechanism for resolving possibly changed component & node ID attributes after scene load.
|
14 years ago |
Lasse Öörni
|
9e4a9362cb
Node::SetParent() retains the world transform.
|
14 years ago |
Lasse Öörni
|
d5c42e8c2c
Added Node::LookAt().
|
14 years ago |
Lasse Öörni
|
bad42bcc5f
Take node parenting into account when moving nodes in the editor.
|
14 years ago |
Lasse Öörni
|
b6e09d2655
Renamed FinishUpdate() to ApplyAttributes() to be more descriptive, and to not confuse with frame updates.
|
14 years ago |
Lasse Öörni
|
3f7fffbf49
Some renames. CollisionGroup -> CollisionLayer, Scene::GetNodeByID() -> GetNode(), Ray::Distance() -> HitDistance().
|
14 years ago |
Lasse Öörni
|
f1bb8bd2ba
Updated to latest kNet.
|
14 years ago |
Lasse Öörni
|
700520f320
Further comments and code cleanup.
|
14 years ago |
Lasse Öörni
|
de67af8825
CoreData / Data reorganization.
|
14 years ago |
Lasse Öörni
|
b694ad047e
Refactored interest management into the NetworkPriority component.
|
14 years ago |
Lasse Öörni
|
7b254df85d
Added simple distance-based interest management for networking.
|
14 years ago |
Lasse Öörni
|
38fe1554ba
Initial multiplayer NinjaSnowWar.
|
14 years ago |
Lasse Öörni
|
444c18673e
Code formatting & optimization.
|
14 years ago |