engine icon indicating copy to clipboard operation
engine copied to clipboard

Fix Math.asin error

Open singlecoder opened this issue 2 years ago • 1 comments

Please check if the PR fulfills these requirements

  • [ ] The commit message follows our guidelines
  • [ ] Tests for the changes have been added (for bug fixes / features)
  • [ ] Docs have been added / updated (for bug fixes / features)

singlecoder avatar Jul 28 '22 10:07 singlecoder

最小案例:

class XXs extends Script {
    onUpdate() {
      this.entity.transform.rotate(new Vector3(1,0,0));
      console.log(this.entity.transform.rotation.x+" "+this.entity.transform.rotation.y+" "+this.entity.transform.rotation.z);
    }
}

GuoLei1990 avatar Aug 17 '22 09:08 GuoLei1990

https://github.com/galacean/engine/pull/1851

cptbtptpbcptdtptp avatar Nov 06 '23 09:11 cptbtptpbcptdtptp