Legacy Documentation: Version 4.6.2
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Physics2D.raycastsStartInColliders

public static var raycastsStartInColliders: bool;

Description

Whether ray/line casts that start inside a collider(s) detect that collider(s) or not.

See Also: Physics2D::Raycast, Physics2D::Linecast.