You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, found this issue when I were playing with shapes and getting it position.
For start I were using b2::CircleShape::new without passing Vec2 and radius, which I thought was a problem of crash, but once I used new_with() with Vec2 and radius, nothing changes. I have feeling that problem with getting position of CircleShape itself.
Error: process didn't exit successfully: 'target\debug\examples\samples.exe' (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
Example:
let test_circle_shape = b2::CircleShape::new_with(b2::Vec2{x: -3., y: 0.}, 3.0);
test_circle_shape.position();
You might run it and it will crash immediately.
The text was updated successfully, but these errors were encountered:
I think that this might be an instance of #3, since CircleShape::position has signature pub fn position(&self) -> Vec2, returning a struct by value. Looking at your error message it seems like you are running on Windows? We could try to run this on Linux (where I expect it to work).
Hello, found this issue when I were playing with shapes and getting it position.
For start I were using
b2::CircleShape::new
without passingVec2
and radius, which I thought was a problem of crash, but once I usednew_with()
withVec2
and radius, nothing changes. I have feeling that problem with getting position ofCircleShape
itself.Error:
process didn't exit successfully: 'target\debug\examples\samples.exe' (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
Example:
You might run it and it will crash immediately.
The text was updated successfully, but these errors were encountered: