mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-14 00:40:30 +07:00
remove IsoRigidbody.useConeFriction because it's not supported in Unity 5.5
This commit is contained in:
@@ -163,15 +163,6 @@ namespace IsoTools.Physics {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public bool useConeFriction {
|
|
||||||
get { return realRigidbody ? realRigidbody.useConeFriction : false; }
|
|
||||||
set {
|
|
||||||
if ( realRigidbody ) {
|
|
||||||
realRigidbody.useConeFriction = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public Vector3 velocity {
|
public Vector3 velocity {
|
||||||
get { return realRigidbody ? realRigidbody.velocity : Vector3.zero; }
|
get { return realRigidbody ? realRigidbody.velocity : Vector3.zero; }
|
||||||
set {
|
set {
|
||||||
|
|||||||
Reference in New Issue
Block a user