Table of Contents

Class CachingCollisionTester

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll

Special version of CollisionTester for BehaviorControlledPhysics, which does not re-do the WalkBlocks() call and re-generate the CollisionBoxList more than once in the same entity tick

public class CachingCollisionTester : CollisionTester
Inheritance
CachingCollisionTester
Inherited Members
Extension Methods

Methods

GenerateCollisionBoxList(IBlockAccessor, double, double, double, float, float, int)

protected override void GenerateCollisionBoxList(IBlockAccessor blockAccessor, double motionX, double motionY, double motionZ, float stepHeight, float yExtra, int dimension)

Parameters

blockAccessor IBlockAccessor
motionX double
motionY double
motionZ double
stepHeight float
yExtra float
dimension int

NewTick(EntityPos)

public void NewTick(EntityPos entityPos)

Parameters

entityPos EntityPos