OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::P2Contact Struct Reference

2 つの物体に発生した衝突に関する情報 More...

#include <P2Contact.hpp>

Public Attributes

Vec2 point = { 0.0, 0.0 }
 衝突時した点の座標 More...
 
double normalImpulse = 0.0
 衝突時の法線方向の力 More...
 
double tangentImpulse = 0.0
 衝突時の接線方向の力 More...
 

Detailed Description

2 つの物体に発生した衝突に関する情報

Member Data Documentation

◆ normalImpulse

double s3d::P2Contact::normalImpulse = 0.0

衝突時の法線方向の力

◆ point

Vec2 s3d::P2Contact::point = { 0.0, 0.0 }

衝突時した点の座標

◆ tangentImpulse

double s3d::P2Contact::tangentImpulse = 0.0

衝突時の接線方向の力


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