Jump to content
  • 0

Replacing object causes disabling collision from other object


MrDadosz

Question

Posted

When I replace model with ID 5114 I'm falling trough 5174 model. Recreating model 5174 doen't fix collision. I need to replace collision to 5174 model and after that it's solid, but it's now working everytime. Replacing some of models causes problem with other models.

 

My script: 

col = engineLoadCOL("5114.col")
txd = engineLoadTXD("5114.txd")
dff = engineLoadDFF("5114.dff", 0)
 
engineReplaceCOL(col, 5114)
engineImportTXD(txd, 5114)
engineReplaceModel(dff, 5114, true)

fix for model 

col = engineLoadCOL("5174.col")
engineReplaceCOL(col, 5174)

1. Replace model 5114

2. Go far away from model 5174

3. Come back and model 5174 should be bugged

 

Is there any solution to fix that without replacing collision?

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...