The following warnings occurred:
Warning [2] Undefined array key "style" - Line: 201 - File: inc/plugins/gomobile.php PHP 8.1.33 (Linux)
File Line Function
/inc/plugins/gomobile.php 201 errorHandler->error
/inc/class_plugins.php 142 gomobile_forcetheme
/global.php 94 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Undefined array key "gomobile" - Line: 214 - File: inc/plugins/gomobile.php PHP 8.1.33 (Linux)
File Line Function
/inc/plugins/gomobile.php 214 errorHandler->error
/inc/class_plugins.php 142 gomobile_forcetheme
/global.php 94 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Undefined array key "gomobile" - Line: 275 - File: inc/plugins/gomobile.php PHP 8.1.33 (Linux)
File Line Function
/inc/plugins/gomobile.php 275 errorHandler->error
/inc/class_plugins.php 142 gomobile_forcetheme
/global.php 94 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 280 - File: inc/plugins/gomobile.php PHP 8.1.33 (Linux)
File Line Function
/inc/plugins/gomobile.php 280 errorHandler->error
/inc/class_plugins.php 142 gomobile_forcetheme
/global.php 94 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 544 - File: global.php PHP 8.1.33 (Linux)
File Line Function
/global.php 544 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 805 - File: global.php PHP 8.1.33 (Linux)
File Line Function
/global.php 805 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 805 - File: global.php PHP 8.1.33 (Linux)
File Line Function
/global.php 805 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 33 - File: global.php(866) : eval()'d code PHP 8.1.33 (Linux)
File Line Function
/global.php(866) : eval()'d code 33 errorHandler->error
/global.php 866 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 931 - File: global.php PHP 8.1.33 (Linux)
File Line Function
/global.php 931 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5151 - File: inc/functions.php PHP 8.1.33 (Linux)
File Line Function
/inc/functions.php 5151 errorHandler->error
/global.php 931 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7315 - File: inc/functions.php PHP 8.1.33 (Linux)
File Line Function
/inc/functions.php 7315 errorHandler->error
/inc/functions.php 5171 is_member
/global.php 931 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7315 - File: inc/functions.php PHP 8.1.33 (Linux)
File Line Function
/inc/functions.php 7315 errorHandler->error
/inc/functions.php 5171 is_member
/global.php 931 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 298 - File: inc/plugins/gomobile.php PHP 8.1.33 (Linux)
File Line Function
/inc/plugins/gomobile.php 298 errorHandler->error
/inc/class_plugins.php 142 gomobile_forcefooter
/global.php 1154 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.33 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.33 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.33 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.33 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



SDK Question - Printable Version

+- (https://forums.vzfit.com)
+-- Forum: VZfit Forum (https://forums.vzfit.com/forumdisplay.php?fid=5)
+--- Forum: General Discussion (https://forums.vzfit.com/forumdisplay.php?fid=6)
+--- Thread: SDK Question (/showthread.php?tid=282)



SDK Question - mrphilipjoel - 05-17-2020

Just for fun, I'm adding VZFit support as kind of an 'Easter Egg' for my VR Disc Golf game.

Easy implementation just as I remember.

The default rigidbody has a mass of 1 KG. But, the first bump I hit, makes me literally start to fly (like ET is sitting in the basket of my bike).

Can you guide me to which settings might need to be adjusted in the inspector to fix this?

Also, another question.

I'm sure this hasn't been looked at, since it doesn't seem like any third-party developers have added your SDK to their games, but I think the 'loading' screen needs updated. My guess is that it is one that was designed for the PlayStation.

It mentions 'turn on your bike' and then later mentions 'press the R button'.

Also, would there be a way to show this loading screen, but on a transparent background so you can still see the game behind it?


RE: SDK Question - emalafeew - 05-18-2020

Hi Philip!

I assume you have gravity enabled ;-> My guess would be that your player object has a collider that does not encompass its origin, which can cause our downward raycast from the origin to mistakenly report that it's hitting the ground and create a buffeting force. Try setting your collider layer to "Ignore Raycast" to see if that fixes it.

The Special Delivery game on PS4 used our SDK, but it has been mostly used for games built around Virzoom. Our own games override VZPlayer.UpdateSetup and customize VZController.prefab to work with different sensors and allow you to see through the loading screen, like Explorer's new mapparium.

We've talked about the future of the SDK and think it lies in two directions. One direction is making it easier to add VZfit support to 3rd party games not initially designed for it. The other direction is to make our own games more extendable by users, like the way users can share custom rides to Explorer, but to add levels to Play.