• Welcome to PiBoSo Official Forum. Please login or sign up.
 
March 28, 2024, 10:14:46 AM

News:

World Racing Series beta14 available! :)


Bike animated parts

Started by h106frp, February 29, 2020, 10:24:58 AM

Previous topic - Next topic

h106frp

Is support for bike animated parts (shock, cables) implemented in b17?

matty0l215

For faster responses, please visit the discord server- HERE

h106frp

I tried this in b16 and it just caused GPB to crash on start-up, has anyone reported success in GPB?

matty0l215

I've sent you the file with my working bikes
For faster responses, please visit the discord server- HERE

h106frp

OK, so animation is implemented and I can make a spring but I cannot get the kinematic link to work so the ends do not stay put on the swingarm and chassis.

I guess I need to get this script to work (found in mxbikes)
  shock
   {
      name = shock_upper
      refobj = shock
      pos
      {
         x = 0
         y = -0.11
         z = 0
      }
      rot
      {
         x = -1
         y = 0
         z = 0
      }
      link
      {
         x = 0
         y = 0.05
         z = 0.04
      }
      slideaxis = y-
      slidescale = 1
      reflength = 0.115
   }

@ PiBosos : What are name and refobj supposed to reference in the model?

Thank you