Skip to content

[Mouse] SofaMouseInteractor script seems to not work anymore #275

Description

@PierreFonda3D

Tried to fix the probleme it seems to come from the raycaster script

m_selectedTriID = m_sofaRC.castRay(originS, directionS);

if (m_selectedTriID >= 0)
{ 

i have this error coming from it :

Image SofaRayCasterAPI::Create Tool returns error: -401: Ray casting tool not found. UnityEngine.Debug:LogError (object) SofaUnityAPI.SofaRayCasterAPI:.ctor (intptr,int,string,single) (at Assets/SofaUnity/Core/Plugins/SofaUnityAPI/ToolsAPI/SofaRayCasterAPI.cs:36) SofaUnity.SofaRayCaster:CreateSofaRayCaster_impl () (at Assets/SofaUnity/Core/Scripts/Core/Tools/SofaRayCaster.cs:279) SofaUnity.SofaMouseInteractor:Start () (at Assets/SofaUnity/Core/Scripts/Modules/Tools/SofaMouseInteractor.cs:130)

After trying to modify stuff and investigate couldn't do much from my unity side

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions