Description

point_array = collision_line_find_nearest_point(x1, y1, x2, y2, accuracy in pixels, solid object id, precise);

This script returns the position of a collision along a line using minimal collision checks.

An example project is included with a laser beam colliding against boxes.

The example project can accurately calculate the collision point in approximately 10 collision checks.

End User Licence Agreement (EULA).

Changes in 1.1.0

Added option to allow precise collision checking.

Example updated to show this.

Version 1.1.0. Published December 27, 2018

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Daniël v 02 April 2019


Gravatar

Anonymous 19 March 2019


Gravatar

Anonymous 05 February 2019


Gravatar

orbis s 28 January 2019


Gravatar

Andrjus V 30 December 2018

Useful asset


Gravatar

Juha S 26 December 2018

nice

nice function

This review was left for a previous version of this asset.

Logo

Jordan Robinson (Publisher) 27 December 2018

Thank you for your review. Be sure to get version 1.1.0 for precise collision checks.

Package contents

Loading, please wait

What is the issue?

Back to Top