Class PhysicsMaterialTemplate
Inheritance
PhysicsMaterialTemplate
Syntax
[CreateAssetMenu(menuName = "DOTS/Physics/Physics Material Template")]
public sealed class PhysicsMaterialTemplate : ScriptableObject, IPhysicsMaterialProperties
Properties
BelongsTo
Declaration
public PhysicsCategoryTags BelongsTo { get; set; }
Property Value
CollidesWith
Declaration
public PhysicsCategoryTags CollidesWith { get; set; }
Property Value
CollisionResponse
Declaration
public CollisionResponsePolicy CollisionResponse { get; set; }
Property Value
Declaration
public CustomPhysicsMaterialTags CustomTags { get; set; }
Property Value
Friction
Declaration
public PhysicsMaterialCoefficient Friction { get; set; }
Property Value
IsTrigger
Declaration
[Obsolete("IsTrigger has been deprecated. Use CollisionResponse instead. (RemovedAfter 2020-08-20)")]
public bool IsTrigger { get; set; }
Property Value
RaisesCollisionEvents
Declaration
[Obsolete("RaisesCollisionEvents has been deprecated. Use CollisionResponse instead. (RemovedAfter 2020-08-20)")]
public bool RaisesCollisionEvents { get; set; }
Property Value
Restitution
Declaration
public PhysicsMaterialCoefficient Restitution { get; set; }
Property Value