Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
IBallContactListener.cs
Go to the documentation of this file.
2
3namespace Terraria.Physics;
4
5public interface IBallContactListener
6{
7 void OnCollision(PhysicsProperties properties, ref Vector2 position, ref Vector2 velocity, ref BallCollisionEvent collision);
8
9 void OnPassThrough(PhysicsProperties properties, ref Vector2 position, ref Vector2 velocity, ref float angularVelocity, ref BallPassThroughEvent passThrough);
10}
void OnPassThrough(PhysicsProperties properties, ref Vector2 position, ref Vector2 velocity, ref float angularVelocity, ref BallPassThroughEvent passThrough)
void OnCollision(PhysicsProperties properties, ref Vector2 position, ref Vector2 velocity, ref BallCollisionEvent collision)