NRA Posted August 8, 2018 Share Posted August 8, 2018 Hi, I used path3d.update(points, otherVector) command in a code and it works, until last week when it stop accepting update the curve with the "otherVector"! There are some change in the way to use it? Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted August 8, 2018 Share Posted August 8, 2018 Pinging @jerome Can you share a demo in the playground? Quote Link to comment Share on other sites More sharing options...
NRA Posted August 8, 2018 Author Share Posted August 8, 2018 Hi @Deltakosh My code is a little mess! But I will put some of it in playground to clarify. Thanks GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
NRA Posted August 8, 2018 Author Share Posted August 8, 2018 Hi @Deltakosh Excuse me, but the error is in other part of the code! I use it in this playground and works! https://www.babylonjs-playground.com/#8ICWNU Thanks Sebavan 1 Quote Link to comment Share on other sites More sharing options...
Sebavan Posted August 8, 2018 Share Posted August 8, 2018 Flagging as solved Quote Link to comment Share on other sites More sharing options...
NRA Posted August 8, 2018 Author Share Posted August 8, 2018 @Sebavan Excuse again! But just now I find the error in my code! Please look at this playground again https://www.babylonjs-playground.com/#8ICWNU My problem is that two weeks ago the camera is turning left/right when I move my mouse horizontally and now it do not! Do you know why? Quote Link to comment Share on other sites More sharing options...
NRA Posted August 8, 2018 Author Share Posted August 8, 2018 Ops! @Sebavan I think I need to save the playground before put here, that is https://www.babylonjs-playground.com/#8ICWNU#3 Quote Link to comment Share on other sites More sharing options...
jerome Posted August 9, 2018 Share Posted August 9, 2018 Making a PG is always a good idea because it helps to isolate the issue (if any) in the code ? Quote Link to comment Share on other sites More sharing options...
Sebavan Posted August 9, 2018 Share Posted August 9, 2018 Hello, The camera is not attached so it only reacts to the mouse move event to rotate the model as specified in the code. I do not see any particular issue, Could you help me understanding better what should happen ? Quote Link to comment Share on other sites More sharing options...
NRA Posted August 9, 2018 Author Share Posted August 9, 2018 @Sebavan I insert an Box to the scene. https://www.babylonjs-playground.com/#8ICWNU#4 You can see the Box rotating with the curve update resulted of mouse move, but the Camera is not rotating too, why? Last week the camera is rotating! Quote Link to comment Share on other sites More sharing options...
Sebavan Posted August 9, 2018 Share Posted August 9, 2018 Oh I see, you are updating cam manually in before render. Let me take a look. Quote Link to comment Share on other sites More sharing options...
Sebavan Posted August 9, 2018 Share Posted August 9, 2018 This is related to camera only and not path: https://playground.babylonjs.com/indexStable.html#6Y32KB#1 I will fix it ASAP. Quote Link to comment Share on other sites More sharing options...
NRA Posted August 9, 2018 Author Share Posted August 9, 2018 Thanks @Sebavan ? Quote Link to comment Share on other sites More sharing options...
Sebavan Posted August 9, 2018 Share Posted August 9, 2018 The PR is here https://github.com/BabylonJS/Babylon.js/pull/4912 , I will deploy a nightly shortly. Quote Link to comment Share on other sites More sharing options...
Sebavan Posted August 9, 2018 Share Posted August 9, 2018 Integrated and deployed to the PG. https://www.babylonjs-playground.com/#8ICWNU#4 is now working. Thanks for noticing and letting us know. Quote Link to comment Share on other sites More sharing options...
NRA Posted August 9, 2018 Author Share Posted August 9, 2018 Thanks again @Sebavan It is working again!!! ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.