piotr.karkocha Posted June 12, 2019 Share Posted June 12, 2019 Hi, after switching to 2.8 SDK, when using vr_template, whenever i add the handle.prop to an object and set its parameters (only change position enabled) i get this error (see attached picture). Release build does not help. Link to comment
morbid Posted June 13, 2019 Share Posted June 13, 2019 Hello Piotr, Is it reproducible with empty VR template? Or this is happening to your project based on VR template? Thanks. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
piotr.karkocha Posted June 13, 2019 Author Share Posted June 13, 2019 Hi, yes i can reproduce it. The drawer in the VR Template also has this property and it works, but as soon as i add a new object with this property, i get the fatal error. Link to comment
vvvaseckiy Posted June 13, 2019 Share Posted June 13, 2019 Hello Piotr, This probably happens because you haven't set Physics body for object you used handle.prop on. By default this .prop component was developed to work with Rigid physics body, so collisions could be calculated with correct velocity. You can either assign Rigid body to the node with handle.prop, or modify ObjHandle.cpp in VR Template sources so it could work without physics body. If that's won't fix your issue, please provide step-by-step reproduction or maybe a small test scene. Thank You Link to comment
piotr.karkocha Posted June 13, 2019 Author Share Posted June 13, 2019 Hi Vvvaseckiy, Didn't think of that. It works now:) Thanks! Link to comment
Recommended Posts