New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collision_radius #139

Closed
jjsanchemx opened this Issue Nov 9, 2017 · 5 comments

Comments

Projects
None yet
2 participants
@jjsanchemx

jjsanchemx commented Nov 9, 2017

May I have an example about collision radius, and how Works?
Thanks.

@pvcraven pvcraven added the question label Nov 21, 2017

@pvcraven

This comment has been minimized.

Show comment
Hide comment
@pvcraven

pvcraven Nov 21, 2017

Owner

Not exactly sure what you are looking for. The collision radius is the first fast-check to see if an object is close enough that they MIGHT be colliding. Then we use a detailed point analysis.

Owner

pvcraven commented Nov 21, 2017

Not exactly sure what you are looking for. The collision radius is the first fast-check to see if an object is close enough that they MIGHT be colliding. Then we use a detailed point analysis.

@jjsanchemx

This comment has been minimized.

Show comment
Hide comment
@jjsanchemx

jjsanchemx Nov 21, 2017

Hi Paul.
the question is about arcade.sprite.Sprite.collision_radius

import arcade
empty_sprite = arcade.Sprite()
empty_sprite.width = 3
empty_sprite.height = 4
empty_sprite.collision_radius
can i define a custom or alter the collision radius for a sprite?

jjsanchemx commented Nov 21, 2017

Hi Paul.
the question is about arcade.sprite.Sprite.collision_radius

import arcade
empty_sprite = arcade.Sprite()
empty_sprite.width = 3
empty_sprite.height = 4
empty_sprite.collision_radius
can i define a custom or alter the collision radius for a sprite?

@pvcraven

This comment has been minimized.

Show comment
Hide comment
@pvcraven

pvcraven Nov 25, 2017

Owner

If you want to change the collision boundaries, see how it is done with the ramp example: http://arcade.academy/examples/sprite_ramps.html#sprite-ramps

Owner

pvcraven commented Nov 25, 2017

If you want to change the collision boundaries, see how it is done with the ramp example: http://arcade.academy/examples/sprite_ramps.html#sprite-ramps

@pvcraven pvcraven self-assigned this Nov 25, 2017

@pvcraven pvcraven added the bug label Nov 25, 2017

@pvcraven

This comment has been minimized.

Show comment
Hide comment
@pvcraven

pvcraven Nov 25, 2017

Owner

Note to self: Improve documentation around this for next release.

Owner

pvcraven commented Nov 25, 2017

Note to self: Improve documentation around this for next release.

@pvcraven pvcraven added this to the 1.2.2 milestone Nov 25, 2017

@pvcraven

This comment has been minimized.

Show comment
Hide comment
@pvcraven

pvcraven Dec 2, 2017

Owner

Closed, implemented in 1.2.2 which is now deployed on PyPi.

Owner

pvcraven commented Dec 2, 2017

Closed, implemented in 1.2.2 which is now deployed on PyPi.

@pvcraven pvcraven closed this Dec 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment