kool-engine / kool

An OpenGL / WebGPU engine for Desktop JVM, Android and Javascript written in Kotlin
https://fabmax.github.io/kool/kool-js
Apache License 2.0
304 stars 20 forks source link

Your project is incredible, great work #3

Closed Protoxy22 closed 3 years ago

fabmax commented 3 years ago

Thanks! I'm glad you like it 😄

fabmax commented 3 years ago

Oh and keep me updated about your project, if you like.

In case you also wanna use physics for your project, you should take a look at the CharacterController class to control your ego character. However, I haven't really used that one myself (apart from some very basic testing) and some necessary stuff might still be missing.

Protoxy22 commented 3 years ago

Yes I've seen the CharacterController class thanks 👍 I keep you tuned about my upcoming project, it will obviously take some time :)

Protoxy22 commented 3 years ago

Hi, I have some difficulties to "attach" an object to the camera. I've tried different matrix transformations, but I think I'm missing something

Here is my code image

gunModel is a Model (you could imagine that)

Here is a the result: https://streamable.com/c9sq26