Jake Mayeux

Results 5 comments of Jake Mayeux

My prompt character always renders correctly but I still cannot change the color Even when I do: BULLETTRAIN_PROMPT_CHAR=("%{$fg[red]%}>>") The prompt shows as just ">>" but it is still green

Ok awesome. In the meantime I'm using this to find the point ``` function raycast(bodies, start, r, dist){ var normRay = Matter.Vector.normalise(r); var ray = normRay; var point = Matter.Vector.add(ray,...

@grozamorei My raycast function doesn't use Matter's Raycast at all, it uses multiple point queries instead (Matter.Query.point). My use of raycast only needed to find the first body it hit,...

Try doing a bounds test first to find all bodies that would intersect the ray. Basically make a rectangle in front of your ship and all the enemies inside that...

@Kentzo I'd like this to be updated to support 10.12 as well. I'll contribute, how can I get started?