Show / Hide Table of Contents

Interface IFreezable

Physics objects that can be freezed, so unity physics wont affect them anymore. Sample: rubble, which after some time of physic simulation gonna to be attach to something and no longer move. This is used mainly for optimizations reasons, so it wont simulate all rubble objects all the time, but there are also another case for that: by example, prevent shop truck from be moved away by physic simulation.

Namespace: Eco.Gameplay.Objects
Assembly: Eco.Gameplay.dll
Syntax
public interface IFreezable : INetObject, IEcoObject

Properties

GroundDistance

Declaration
float GroundDistance { get; set; }
Property Value
Type Description
System.Single

NetEntity

Declaration
NetPhysicsEntity NetEntity { get; }
Property Value
Type Description
NetPhysicsEntity

Methods

Freeze(Vector3, Quaternion, Single)

Declaration
virtual void Freeze(Vector3 position, Quaternion rotation, float groundDistance)
Parameters
Type Name Description
System.Numerics.Vector3 position
Quaternion rotation
System.Single groundDistance

Unfreeze(Player, Boolean)

Declaration
virtual void Unfreeze(Player player, bool forceChangeOwner)
Parameters
Type Name Description
Player player
System.Boolean forceChangeOwner

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾