adam

Members
  • Content Count

    1,719
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by adam

  1. adam

    SPS Optimization : Feedback Wanted

    I can read it when I rotate my phone. 20,000 particles Chrome on LG G7 ThinQ Legacy - 10fps Refactored - 24fps !!! Edit: Firefox on LG G7 ThinQ Legacy - 17fps Refactored - 15fps ???
  2. adam

    SPS Optimization : Feedback Wanted

    Awesome!! I tried to test on my phone but the fps element is too small for me to read.
  3. frame.html https://www.babylonjs-playground.com/frame.html#NUMA1E
  4. I just found this function I wrote a while ago for dealing with this issue: https://www.babylonjs-playground.com/#28IXSE#36 clicking the PG parents box1 to box2 using the parentMesh function.
  5. Look at bone scale code. Edit: Eh, I thought about it some more and the lack of local matrix might be a problem.
  6. The bone scale method might be helpful: https://github.com/BabylonJS/Babylon.js/blob/master/src/Bones/babylon.bone.ts#L519
  7. Here's an example: https://www.babylonjs-playground.com/#EG1J26#1
  8. If you don't need the exact vertex position, you might be able to use bone.getAbsolutePositionFromLocal. https://github.com/BabylonJS/Babylon.js/blob/master/src/Bones/babylon.bone.ts#L1045
  9. adam

    Illuminated City

    For those with ad blockers (at least for ublock origin), you will need to disable it to get the page to load.
  10. adam

    polygroups?

    You might be able to use the Tower of Babel exporter for this. I've done this to make my character blink / squint.
  11. adam

    Leaderboard sample

    I'm not going to be able to get to this right away. When I do, I'm going to need to discuss how we should deal with styling. edit: It would be nice if the slider would continue to work even if your pointer moves off control (to the right for instance).
  12. adam

    TYPESCRIPT in Playground

    who was denigrating javascript?
  13. adam

    Leaderboard sample

    Here's a PG I created a while back that might be helpful: https://www.babylonjs-playground.com/#R4C9C1#10
  14. @dbawel In this case, FPS = First Person Shooter.
  15. I'm not sure exactly what you're trying to create, but this might be helpful:
  16. There is also setPivotPoint. https://doc.babylonjs.com/how_to/pivots#how-to-set-and-get-a-pivot-point edit: Maybe you tried it already.
  17. I started to look at this on the debug PG, but didn't get far because of an error with OIMO: https://playground.babylonjs.com/debug.html#MARWS6#4
  18. I'd bet that Quaternion.toEulerAngles is not the issue. The last change was over a year ago: https://github.com/BabylonJS/Babylon.js/blame/master/src/Math/babylon.math.ts#L3522
  19. adam

    Opinions - ClonerObject

    Have you seen this? https://github.com/BabylonJS/Extensions/tree/master/ClonerSystem
  20. adam

    find a mesh above or below any mesh

    This PG might be helpful: https://www.babylonjs-playground.com/#1UZIZC#33
  21. adam

    [SOLVED]GUI Dynamic dispaly

    https://www.babylonjs-playground.com/#4LFSBJ#5 I would avoid doing anything to private member variables (usually prefixed with underscore).
  22. adam

    Pivot and position 3.2

    I just found the original commit and I did write that. Sorry I don’t have time right now. This PG example still seems to work correctly: https://www.babylonjs-playground.com/#WFLKH#4
  23. adam

    Pivot and position 3.2

    I don’t remember writing getAbsolutrePivotPoint. I do know that I wrote getPivitPoint. @JohnK
  24. adam

    Math for moving rotated objects

    Checkout the mesh getDirection function.
  25. Me: Trs-80 -> c64 -> Amiga500