Table of Contents

Class ScenePropCollisionSet

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

The collidable half of a scene's baked props from one source: a shared collision mesh per prototype and where each collidable prop stands. PropColliderStreamer puts colliders only where they are needed — round every character on the server, round the camera on the client — from pools, so a scene's tens of thousands of trees and rocks never all exist in physics at once.

[PreferBinarySerialization]
public sealed class ScenePropCollisionSet : ScriptableObject
Inheritance
Object
ScriptableObject
ScenePropCollisionSet
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetEntityId()
Object.GetInstanceID()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.FindObjectsByType<T>()
Object.FindObjectsByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags

Remarks

Server and client. Unlike the render set (ScenePropSet, client only) this stays in server builds: the server stands players and NPCs on the same rocks the client draws, and the client predicts its own movement against the same colliders.

Only what blocks. Props too small to matter (bushes, small stones) and props whose prefab has no collider are left out at the bake; they are walked through, as the detail layers' grass and flowers are.

Fields

Instances

public ScenePropCollisionSet.Instance[] Instances

Field Value

Instance[]

Prototypes

public ScenePropCollisionSet.Prototype[] Prototypes

Field Value

Prototype[]

Source

[Tooltip("Where these came from (Scatter, Cliffs, Boulders).")]
public string Source

Field Value

string