Stardew Engine
Loading...
Searching...
No Matches
DynamicCollider Struct Reference

#include <Entities.h>

Collaboration diagram for DynamicCollider:

Data Fields

H2DBody id
 
struct PhysicsShape2D shape
 
struct KinematicBodyOptions options
 
bool bIsSensor
 
bool bGenerateSensorEvents
 If this is a non-sensor, does it generate sensor overlap events? Best for performance to only enable this if necessary.
 
OnSensorShapeOverlapBeginFn onSensorOverlapBegin
 
OnSensorShapeOverlapEndFn onSensorOverlapEnd
 

Field Documentation

◆ bGenerateSensorEvents

bool DynamicCollider::bGenerateSensorEvents

If this is a non-sensor, does it generate sensor overlap events? Best for performance to only enable this if necessary.

◆ bIsSensor

bool DynamicCollider::bIsSensor

◆ id

H2DBody DynamicCollider::id

◆ onSensorOverlapBegin

OnSensorShapeOverlapBeginFn DynamicCollider::onSensorOverlapBegin

◆ onSensorOverlapEnd

OnSensorShapeOverlapEndFn DynamicCollider::onSensorOverlapEnd

◆ options

struct KinematicBodyOptions DynamicCollider::options

◆ shape

struct PhysicsShape2D DynamicCollider::shape

The documentation for this struct was generated from the following file: