the-aviator | Welcome to the Aviator game | Game Engine library
kandi X-RAY | the-aviator Summary
kandi X-RAY | the-aviator Summary
Welcome to the Aviator game!
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of the-aviator
the-aviator Key Features
the-aviator Examples and Code Snippets
Community Discussions
Trending Discussions on the-aviator
QUESTION
I have a GLTF model with a mesh that represents low poly water. After loading the GLTF model in A-Frame I am trying to animate the water by modifying the y-coordinate of each vertex in a tick() function.
The problem is that the modified vertices are not drawn on screen, only the initial modification is drawn. What am I missing?
To reproduce the problem I made a simple GLTF model with a single mesh which consists of 32 triangles in a 4x4 grid:
...ANSWER
Answered 2019-Aug-13 at 07:44According to the docs, and this anwser:
When using a buffer geometry (and the model is loaded as such), then you need to set the needsUpdate
flag on the changed attribute object:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install the-aviator
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page