mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-15 01:12:05 +07:00
26 lines
811 B
C#
26 lines
811 B
C#
using UnityEngine;
|
|
|
|
namespace IsoTools {
|
|
public class IsoCollision {
|
|
|
|
public IsoCollider Collider { get; private set; }
|
|
public IsoContactPoint[] Contacts { get; private set; }
|
|
public GameObject GameObject { get; private set; }
|
|
public Vector3 RelativeVelocity { get; private set; }
|
|
public IsoRigidbody IsoRigidbody { get; private set; }
|
|
|
|
public IsoCollision(
|
|
IsoCollider collider,
|
|
IsoContactPoint[] contacts,
|
|
GameObject game_object,
|
|
Vector3 relative_velocity,
|
|
IsoRigidbody iso_rigidbody)
|
|
{
|
|
Collider = collider;
|
|
Contacts = contacts;
|
|
GameObject = game_object;
|
|
RelativeVelocity = relative_velocity;
|
|
IsoRigidbody = iso_rigidbody;
|
|
}
|
|
}
|
|
} // namespace IsoTools |