hadoken Guest |
Quote
|
2021-09-14 16:17:20 |
|
I wish we could have the internal hardcoded behavior "Collide when moved" as an external .js code file to change its parameters at runtime. Does anyone have suggestions on how to realize this? Thanks!
|
Robo Guest |
Quote
|
2021-09-18 14:12:41 |
|
I was thinking about this a few months ago also but realised it would just work much faster using the default C++ engine one than Javascript and not easy also. Most likely need to shoot lots of 'ccbDoesLineCollideWithBoundingBoxOfSceneNode' out all the time plus 'ccbGetCollisionPointOfWorldWithLine' also...would be CPU intensive should expect.
A week ago onn Steam I asked Niko to have a look at changing this so we can do crouching and fall off terrain slopes better etc - he said he would look into it.......whatever that means...
|
hadoken Guest |
Quote
|
2021-09-18 14:41:47 |
|
Thanks @Robo for your thoughts on this. "...crouching and falling off terrain slopes ..." -> you are right, exactly for this I would like to see an improvement. I have also already run some experiments on this. But despite partially convincing results, everything is only tinkered with unconventional workarounds together so far.
Besides, when dealing with the First Person Cam behavior, there is the option to make cam children non clippable. If these children have also further (new deeper level) children those new level children still clip through environmental polygon topo. Could there be any fix for this?
THX
|