UeliUeli

Members
  • Content Count

    10
  • Joined

  • Last visited

  1. UeliUeli

    Apple Trackpad and the Arc Rotating Camera

    Found out: 0 - LMB, 1 - MMB, 2 - RMB. so: no options for touch panning...
  2. UeliUeli

    Apple Trackpad and the Arc Rotating Camera

    attachControl(element: HTMLElement, noPreventDefault?: boolean, useCtrlForPanning?: boolean, panningMouseButton?: number): void Overrides Camera.attachControl Attached controls to the current camera. Parameters element: HTMLElement Defines the element the controls should be listened from Optional noPreventDefault: boolean Defines whether event caught by the controls should call preventdefault() (https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault) Optional useCtrlForPanning: boolean Defines whether ctrl is used for paning within the controls Optional panningMouseButton: number Defines whether panning is allowed through mouse click button --- Question: what can i do with the last argument of camera.attachControl? Is there a number that defines two fingers swipes?
  3. UeliUeli

    Apple Trackpad and the Arc Rotating Camera

    that's a great tipp, thank you!! Now i can rotate it with three fingers. But what i was looking for is a way to pan - on the arc rotating camera this would mean to move the target, right? Sorry if my english was not clear enough.. With this playground i am able to pan with two fingers on my mobile phone (iphone): https://www.babylonjs-playground.com/#C2ZGCJ#1 Sadly it is not working on the trackpad (touchpad) of my computer.. Maybe i should try to make a custom input to the target of the arc rotating camera - i hope to find time to do that next week.
  4. UeliUeli

    Apple Trackpad and the Arc Rotating Camera

    Hi Kcoley The zooming works with two fingers up & down + pinch. But no panning with touch
  5. UeliUeli

    Apple Trackpad and the Arc Rotating Camera

    Dear Forum I'm still struggling with touch control over the ArcRotatingCamera. Pinch Zoom: Works on the iphone, as well as on the Trackpad (touchpad) of my computer, but: It is very slow on the Trackpad . If i change the "camera.pinchDeltaPercentage" value, the pinch speed changes on the iphone, but not on the computer. Touch panning: Is not working on the iphone, not on the trackpad of my computer I'm sorry if i miss the obvious, but I'm getting a little desperate. Does somebody knows a playground example where panning with two fingers is working? Thanks & all the best,
  6. UeliUeli

    Picking up Pinch-to-Zoom Gesture

    Hi There I try to manipulate the pinch-zoom and panning gesture of the arc rotating camera, but the two arguments from the doc don't seem to change the behavier. Do you have any idea what could be wrong? The problem is: The cameras pinch function is too slow...
  7. UeliUeli

    Apple Trackpad and the Arc Rotating Camera

    With a normal mouse it's working, but just not with the Trackpad. Sadly so far i didn't see any Playground working with my Trackpad. What's the correct contructor?
  8. Dear Forum I am working on an Apple / Mac computer and i can't get the apple trackpad on my Laptop to work with babylonjs (with pep.js) arc rotaing camera (or any other camera in that sense). Is there a documentation or examples on how to get input of apples trackpad? Thanks!
  9. UeliUeli

    Disable backfaceCulling for all meshes

    Thanks Deltakosh! I put it just before the sceneLoader & it worked fine
  10. Hi there I'm a newby in babylonjs and i'm trying to build a content viewer for 3d models adjusted to my needs. Now: Is there a method to disable backface culling for all meshes of a scene? I have tried it with scene.meshes, but i does not work: BABYLON.SceneLoader.loggingLevel = BABYLON.SceneLoader.DETAILED_LOGGING; BABYLON.SceneLoader.Append("../../", "...", scene, function (scene) { scene.meshes.backFaceCulling = false; for(var i=0; i<scene.meshes.length; i++) scene.meshes.checkCollisions=true; ... Help is much appreciated, Thanks! Ps: Additional question: Would it be possible to give all the backsides of the meshes one color?