The KinematisController is within the “u040.prespective.prepair.kinematics” namespace.
If you use “using u040.prespective.prepair.kinematics;” at the top of your script, the kinematicsController should be found, or you can specifictly target the “u040.prespective.prepair.kinematics.KinematicsController” within your script.
When I play with the tutorial of Prelogic i end up with the following error in my UNITY window,
InvalidProgramException: Invalid IL code in u040.prespective.prelogic.adapters.tcads.TwincatADSStreamAdapter:useBlockRead (): IL_0409: callvirt 0x0a0011f3
u040.prespective.prelogic.adapters.tcads.TwincatADSStreamAdapter.BlockReadWriteUpdate () (at <9e6004563c014e028ca36140399a1116>:0)
u040.prespective.prelogic.adapters.PrelogicStreamClient.update (System.Single _timeDelta) (at <9e6004563c014e028ca36140399a1116>:0)
u040.prespective.prelogic.PreLogicSimulator.FixedUpdate () (at <9e6004563c014e028ca36140399a1116>:0)
and I’m not able to write the values from the twincat as well as unity to twincat.
This is an upgraded project with the latest Prespective version (1.2.86.1706) which has a fix for the Twincat ADS bug.
The communication was tested with Unity 2019.1.9f1. The Twincat project is located in the “Twincat Project” folder with the package.
Hi,
I inserted wheel joint to one of my part but my gizmo isn’t at the center of the part which is located at far away say at the origin of the whole scene. You can see that in the image below, kindly help me with this…
the wheeljoint is normaly located at the pivot point of the object. I see in the images above that you have your gizmo’s set te “Centre” which draws them on the centre of the geometry selected. If you click this button and set it to “pivot” does that change the gizmo to the position of the wheeljoint?
If that is the case you might need to change the position of the pivot of the selected object. This can be done with the Prepare → move pivot functionality within Prespective.
Hi
I tried to set it to “PIVOT” but it doesnt change, and even tried the Move PIVOT functionality and still no change in the GIZMO. Is this because of the CAD file imported ??..
For using Collada files within Unity, we provide an export and import tool within prespective. It is also possible to directly import native Collada files within Unity. To do this simply drag and drop the file from explorer to the project pane within Unity.
With regards to the pivot problem, is it possible to share the project with us, so we can test this ourselfs?
You can email a link to support@prespective-software.com
at the moment we dont support building to Android or IOS devices. We aim Prespective mainly at desktop systems, due to better performance. We have not tested building for Android or IOS, so you can test it yourself, our free trail is still available.
I used the chang pivot tool and changed the pivot of each and every parts individully by finding the mesh center , it was tiresome but now it works fine…
At the moment we dont have tooling to make a flexible pipe. Usually a hose or pipe is not a mechanical component and therefor not of big importance to a simulation.
Is it possible to use the output data of different senors to make the digital twin in prespective emulate the process and actions that the physical machine is performing in real time? and also can you provide a list of supported IOT platforms and how can we integrate IOT data with prespective
Prespective is made for testing real time with a digital twin. you can simulate all kinds of sensors in real time. You can connect with these sensors thought different different protocols. We support a variety of different protocols
If you can have your IOT solution communicate with MQTT or Active MQ, it will be fairly easy to simulate the sensors and sensor data you need in real time.
You can download the Prespective Beta if you dont allready have it. If you run into anything feel free to contact us through this forum or the website (https://prespective-software.com/)